index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-05-22 09:12:47 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-05-22 09:12:47 -0700 |
commit | 98e4fd58d8c222652f3a5bd1d8a76f7618824e17 (patch) | |
tree | 12f1486c73f39fa5190dd938f99efb0257094761 /src/modules/game/soldier.js | |
parent | 7395df376deac945fa8f10cbc05c318b1d8dc931 (diff) |
Use observable for end move and prone flag
Diffstat (limited to 'src/modules/game/soldier.js')
-rw-r--r-- | src/modules/game/soldier.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/game/soldier.js b/src/modules/game/soldier.js index fb0a559..ae1d708 100644 --- a/src/modules/game/soldier.js +++ b/src/modules/game/soldier.js @@ -129,7 +129,7 @@ export function endMove(svg, counter) { } export function hasProne(counter) { - return !!counter.querySelector('[href="#counter-prone"]'); + return !!counter.querySelector('[href="#counter-prone"]:not(.removed)'); } export function toggleProne(counter) { |