summaryrefslogtreecommitdiff
path: root/rules.ts
diff options
context:
space:
mode:
Diffstat (limited to 'rules.ts')
-rw-r--r--rules.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.ts b/rules.ts
index 14df1e5..006a8f8 100644
--- a/rules.ts
+++ b/rules.ts
@@ -5985,7 +5985,7 @@ function log_lord_engage(lord: 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++) {
if (game.battle.array[x] === lord) {