1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-30 12:32:36 +00:00

Fix: after reloadlua call onActive for all active scripts

This commit is contained in:
Petr Mikheev 2021-10-17 19:10:09 +02:00
parent 19a0fde278
commit 95faeaa9c1

View File

@ -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());
} }
} }