diff options
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/base/spacemine.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/base/spacemine.cc b/src/game/base/spacemine.cc index 2a45630..2e268ce 100644 --- a/src/game/base/spacemine.cc +++ b/src/game/base/spacemine.cc @@ -128,8 +128,9 @@ void SpaceMine::frame(const unsigned long elapsed) if (body()) { reset(); } - - if (spacemine_detonated_timestamp + 5.0f < core::game()->time()) { + + // stay alive for 10 more seconds while explosion particles are drawn + if (spacemine_detonated_timestamp + 10.0f < core::game()->time()) { die(); } } |