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 717b050..2f6287a 100644
--- a/rules.js
+++ b/rules.js
@@ -5001,7 +5001,7 @@ function log_lord_engage(lord) {
}
function remove_lord_from_battle(lord) {
if (set_has(game.battle.reserves, lord)) {
- array_remove(game.battle.reserves, lord);
+ set_delete(game.battle.reserves, lord);
}
else {
for (let x = 0; x < 6; x++) {