Skip to content

Commit

Permalink
Process menu script timers
Browse files Browse the repository at this point in the history
  • Loading branch information
uramer committed May 15, 2024
1 parent 2bed745 commit a662198
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/openmw/mwlua/luamanagerimp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit a662198

Please sign in to comment.