Prevent blowing up the same block twice in one tic
This commit is contained in:
parent
570fad84ab
commit
6e7338a214
@ -1640,6 +1640,11 @@ export class Level extends LevelInterface {
|
||||
}
|
||||
else if (tile.type.on_arrive) {
|
||||
tile.type.on_arrive(tile, this, actor);
|
||||
|
||||
if (actor.type.ttl) {
|
||||
// If we were just turned into an explosion or something, stop here!
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user