diff --git a/Client/origin-client/scenes/game/game_screen.gd b/Client/origin-client/scenes/game/game_screen.gd index c95b501..96c6a6b 100644 --- a/Client/origin-client/scenes/game/game_screen.gd +++ b/Client/origin-client/scenes/game/game_screen.gd @@ -1704,7 +1704,9 @@ func _play_damage_animations(state: Dictionary) -> bool: var damaged_iids : Dictionary = {} var seen_iids : Dictionary = {} for player: Dictionary in state.get("players", []): - for unit: Dictionary in ([player.get("archSpirit") or {}] + player.get("field", [])): + var _arch_raw = player.get("archSpirit") + var _arch_list : Array = [] if _arch_raw == null else [_arch_raw] + for unit: Dictionary in (_arch_list + player.get("field", [])): if unit.is_empty(): continue var iid := str(unit.get("instanceId", "")) var new_hp := int(unit.get("currentHealth", 0))