Skip to content

Commit

Permalink
Merge branch 'fix_menu_timers' into 'master'
Browse files Browse the repository at this point in the history
Process menu script timers

See merge request OpenMW/openmw!4103
  • Loading branch information
psi29a committed May 17, 2024
2 parents 7ceaa64 + a662198 commit 42db5f4
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 42db5f4

Please sign in to comment.