bug with objects moving
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user