Fix undoing green button presses
This commit is contained in:
parent
0cd7537ce6
commit
e963c83c4d
@ -2578,7 +2578,7 @@ export class Level extends LevelInterface {
|
|||||||
|
|
||||||
// Undo in reverse order! There's no redo, so it's okay to use the destructive reverse().
|
// Undo in reverse order! There's no redo, so it's okay to use the destructive reverse().
|
||||||
// These toggles go first, since they're the last things to happen in a tic
|
// These toggles go first, since they're the last things to happen in a tic
|
||||||
if (entry.pending_green_toggle) {
|
if (entry.toggle_green_tiles) {
|
||||||
this.__toggle_green_tiles();
|
this.__toggle_green_tiles();
|
||||||
}
|
}
|
||||||
if (entry.sokoban_changes) {
|
if (entry.sokoban_changes) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user