mirror of
https://github.com/OpenMW/openmw.git
synced 2025-10-16 16:46:34 +00:00
Fix: after reloadlua call onActive for all active scripts
This commit is contained in:
parent
19a0fde278
commit
95faeaa9c1
1 changed files with 2 additions and 0 deletions
|
@ -432,6 +432,8 @@ namespace MWLua
|
||||||
scripts->save(data);
|
scripts->save(data);
|
||||||
scripts->load(data);
|
scripts->load(data);
|
||||||
}
|
}
|
||||||
|
for (LocalScripts* scripts : mActiveLocalScripts)
|
||||||
|
scripts->receiveEngineEvent(LocalScripts::OnActive());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue