Fix rendering breakage caused by a couple more out-of-turn moves
This commit is contained in:
parent
8671bee08b
commit
769d424dde
@ -1048,7 +1048,7 @@ const TILE_TYPES = {
|
||||
if (tile.type.is_actor) {
|
||||
// Forcibly move anything released from a trap, to keep it in sync with
|
||||
// whatever pushed the button
|
||||
level.attempt_step(tile, tile.direction);
|
||||
level.attempt_out_of_turn_step(tile, tile.direction);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1338,7 +1338,7 @@ const TILE_TYPES = {
|
||||
let actor = level.actors[i];
|
||||
// TODO generify somehow??
|
||||
if (actor.type.name === 'tank_yellow') {
|
||||
level.attempt_step(actor, other.direction);
|
||||
level.attempt_out_of_turn_step(actor, other.direction);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user