1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-04 02:41:19 +00:00

Process menu script timers

This commit is contained in:
uramer 2024-05-15 21:07:23 +02:00
parent 2bed7450b6
commit a662198903

View File

@ -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());