EventManager: properly deal with frame_counter getting reset.

develop
expwnent 2014-11-06 23:44:13 -05:00
parent 63c733d0b5
commit dcdb6aae1b
1 changed files with 1 additions and 1 deletions

@ -320,7 +320,7 @@ void DFHack::EventManager::manageEvents(color_ostream& out) {
} }
else eventFrequency = 1; else eventFrequency = 1;
if ( tick - eventLastTick[a] < eventFrequency ) if ( tick >= eventLastTick[a] && tick - eventLastTick[a] < eventFrequency )
continue; continue;
eventManager[a](out); eventManager[a](out);