diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-03-28 00:29:58 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 11:54:52 +0100 |
commit | 5dc6a538bd9e966b3b4e090ac8dcdb566a96b97a (patch) | |
tree | ffe88d88def155c99eadbc324b27cd51095a62d8 | |
parent | dd7e07464eb1ac1682b9ad5154d899d336bc00a2 (diff) | |
download | wilderness-war-5dc6a538bd9e966b3b4e090ac8dcdb566a96b97a.tar.gz |
Fix bug with is_piece_unbesieged_in_space and forces.
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |