fix(client): POI category key mismatch — use poi_category from wire format

protocol.gd decoded server's poi_category as "category", minimap.gd
read "category" — both now use "poi_category" matching the wire format.
Protocol falls back to "category" for older server snapshots.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-25 12:57:29 +01:00
co-authored by Claude Opus 4.6
parent 16e1cc3a09
commit e7f1e80307
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ func _draw() -> void:
var dx: float = float(poi.x) - px
var dy: float = float(poi.y) - py
var dist: float = sqrt(dx * dx + dy * dy)
var category: String = poi.get("category", "")
var category: String = poi.get("poi_category", "")
var color: Color = _category_color(category)
if dist < 0.01: