diff --git a/source/glest_game/game/script_manager.cpp b/source/glest_game/game/script_manager.cpp index fdbb5dac..5535bc03 100644 --- a/source/glest_game/game/script_manager.cpp +++ b/source/glest_game/game/script_manager.cpp @@ -485,6 +485,11 @@ void ScriptManager::onTimerTriggerEvent() { currentTimerTriggeredEventId = iterMap->first; luaScript.beginCall("timerTriggerEvent"); luaScript.endCall(); + + if(event.triggerSecondsElapsed > 0) { + int timerId = iterMap->first; + stopTimerEvent(timerId); + } } } }