update logic for push
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user