mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-31 16:36:41 +00:00
Enable built-in script in the integration tests
This commit is contained in:
parent
54c76203a7
commit
f5b24efdca
3 changed files with 4 additions and 3 deletions
|
@ -1 +0,0 @@
|
|||
# It is an empty file that overrides builtin.omwscripts and disables builtin scripts
|
|
@ -220,7 +220,7 @@ testing.registerLocalTest('findNearestNavMeshPosition',
|
|||
|
||||
return {
|
||||
engineHandlers = {
|
||||
onUpdate = testing.updateLocal,
|
||||
onFrame = testing.updateLocal,
|
||||
},
|
||||
eventHandlers = testing.eventHandlers
|
||||
}
|
||||
|
|
|
@ -181,7 +181,9 @@ end
|
|||
|
||||
function M.updateLocal()
|
||||
if localTestRunner and coroutine.status(localTestRunner) ~= 'dead' then
|
||||
coroutine.resume(localTestRunner)
|
||||
if not core.isWorldPaused() then
|
||||
coroutine.resume(localTestRunner)
|
||||
end
|
||||
else
|
||||
localTestRunner = nil
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue