summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/play.js b/play.js
index de62ff0..fbc462b 100644
--- a/play.js
+++ b/play.js
@@ -143,10 +143,7 @@ function on_click_map_block(evt) {
}
function is_battle_reserve(who, list) {
- for (let [b, s, m] of list)
- if (who === b)
- return true
- return false
+ return list.includes(who)
}
function on_focus_battle_block(evt) {