Adding loggin to troubleshoot location generation issue
Deploy Promiscuity Auth API / deploy (push) Successful in 47s
Deploy Promiscuity Character API / deploy (push) Successful in 57s
Deploy Promiscuity Locations API / deploy (push) Successful in 45s
k8s smoke test / test (push) Successful in 7s

This commit is contained in:
2026-03-13 13:59:04 -05:00
parent 3b2cc9721b
commit 9b646f501c
3 changed files with 48 additions and 14 deletions
+6
View File
@@ -241,6 +241,7 @@ func _load_existing_locations() -> void:
_locations_loaded = true
return
var loaded_count := 0
for item in parsed:
if typeof(item) != TYPE_DICTIONARY:
continue
@@ -254,5 +255,10 @@ func _load_existing_locations() -> void:
if location_name.is_empty():
location_name = "Location %d,%d" % [coord.x, coord.y]
_known_locations[coord] = location_name
loaded_count += 1
print("LocationLevel loaded %d visible locations for character %s." % [loaded_count, character_id])
if loaded_count == 0:
push_warning("Visible locations request succeeded but returned 0 locations for character %s." % character_id)
_locations_loaded = true