mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-29 18:32:36 +00:00
Fix: after reloadlua call onActive for all active scripts
This commit is contained in:
parent
19a0fde278
commit
95faeaa9c1
@ -432,6 +432,8 @@ namespace MWLua
|
||||
scripts->save(data);
|
||||
scripts->load(data);
|
||||
}
|
||||
for (LocalScripts* scripts : mActiveLocalScripts)
|
||||
scripts->receiveEngineEvent(LocalScripts::OnActive());
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user