summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/game.cpp b/src/game/game.cpp
index 826f9e5..48f852f 100644
--- a/src/game/game.cpp
+++ b/src/game/game.cpp
@@ -56,7 +56,7 @@ void state_t::select(rectf_t x)
if (unit->type != unit_t::UNIT_HUMAN)
continue;
- if (unit->selected != old_cookie)
+ if (!unit->dead && unit->selected != old_cookie)
unit->say(text::get(text::SAY_READY));
unit->selected = selection_cookie;