bug with objects moving

This commit is contained in:
2026-07-25 12:31:13 -05:00
parent a80155188f
commit ed219d74e5
3 changed files with 92 additions and 2 deletions
+1 -1
View File
@@ -553,7 +553,7 @@ fn step_object(board: &mut Board, id: ObjectId, dir: Direction) {
if solid {
// This is a real object on the board, try and push it
board.push(loc.0, loc.1, dir);
board.move_object(loc.0, loc.1, dir);
} else {
// This is a sensor, we can just teleport it
board.move_sensor(id, dir);