summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 6ee4a7c..eb3af37 100644
--- a/rules.js
+++ b/rules.js
@@ -4194,7 +4194,7 @@ states.retreat_eliminate_hits = {
},
piece(p) {
eliminate_general(p, false)
- set_delete(game.selected, p)
+ array_remove_item(game.selected, p)
resume_retreat()
},
}