summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 5660b4a..03b28a3 100644
--- a/rules.js
+++ b/rules.js
@@ -2751,7 +2751,7 @@ function after_vm_remove_cube(us_state) {
if (!color_cubes(game.vm.cubes, us_state)) {
set_delete(game.vm.us_states, us_state)
- if (game.vm.limit && map_key_count(game.vm.removed) === game.vm.limit)
+ if (game.vm.limit && map_key_count(game.vm.removed) === game.vm.limit && !game.vm.us_states.length)
return vm_next()
}
} else {