From 98e4fd58d8c222652f3a5bd1d8a76f7618824e17 Mon Sep 17 00:00:00 2001
From: Catalin Mititiuc
Date: Wed, 22 May 2024 09:12:47 -0700
Subject: Use observable for end move and prone flag
---
src/modules/game/soldier.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'src/modules/game')
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) {
--
cgit v1.2.3