Process menu script timers

esm4-texture
uramer 8 months ago
parent 2bed7450b6
commit a662198903

@ -181,6 +181,7 @@ namespace MWLua
MWWorld::DateTimeManager& timeManager = *MWBase::Environment::get().getWorld()->getTimeManager();
if (!timeManager.isPaused())
{
mMenuScripts.processTimers(timeManager.getSimulationTime(), timeManager.getGameTime());
mGlobalScripts.processTimers(timeManager.getSimulationTime(), timeManager.getGameTime());
for (LocalScripts* scripts : mActiveLocalScripts)
scripts->processTimers(timeManager.getSimulationTime(), timeManager.getGameTime());

Loading…
Cancel
Save