feat(@projects/@magic-civilization): ✨ improve pathfinding and anomaly sorting stability
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
005ec66d8f
commit
b8d0e5b268
1 changed files with 1 additions and 1 deletions
|
|
@ -164,7 +164,7 @@ func _drift_anomalies(game_map: RefCounted) -> void:
|
|||
|
||||
# Collect tiles with anomalies to drift
|
||||
var drifters: Array = []
|
||||
for pos: Variant in _sorted_anomaly_keys():
|
||||
for pos: Vector2i in _sorted_anomaly_keys():
|
||||
var tile: Variant = game_map.get_tile(pos)
|
||||
if tile == null or tile.pressure_anomaly == 0.0:
|
||||
_anomaly_age.erase(pos)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue