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 fd3c01a..edfc36c 100644
--- a/rules.js
+++ b/rules.js
@@ -1088,7 +1088,7 @@ function is_piece_in_space(p, s) {
}
function is_piece_unbesieged_in_space(p, s) {
- return game.location[p] === s;
+ return piece_space_and_inside(p) === s;
}
function is_piece_besieged_in_space(p, s) {