update logic for push

This commit is contained in:
2026-01-23 08:38:45 +08:00
parent c1ba5d1888
commit 89a3beb2b2
145 changed files with 1530 additions and 1447 deletions
+3 -2
View File
@@ -326,8 +326,9 @@ func _try_move() -> bool:
return false
# Redundant safety check (simple_move_to also checks this)
if actor.is_position_occupied(next_step):
return false
# Removed to allow PUSHING mechanics (simple_move_to handles occupancy/pushing)
# if actor.is_position_occupied(next_step):
# return false
# Execute SINGLE STEP movement using player manager
if actor.movement_manager.simple_move_to(next_step):