Skip to content

Commit

Permalink
Prevent livefire from wakeing from sleep while in the process of bein…
Browse files Browse the repository at this point in the history
…g extinguished
  • Loading branch information
LMH0013 authored and tobbi committed Oct 26, 2013
1 parent 729ab54 commit 11982dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/badguy/livefire.cpp
Expand Up @@ -68,7 +68,7 @@ LiveFire::active_update(float elapsed_time) {
return;
}

if(state == STATE_SLEEPING) {
if(state == STATE_SLEEPING && get_group() == COLGROUP_MOVING) {

Player* player = this->get_nearest_player();
if (player) {
Expand Down

0 comments on commit 11982dd

Please sign in to comment.