Fix undoing green button presses

This commit is contained in:
Eevee (Evelyn Woods) 2024-05-08 08:55:23 -06:00
parent 0cd7537ce6
commit e963c83c4d

View File

@ -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().
// 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();
}
if (entry.sokoban_changes) {