mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Pre-load again on mission load (save game)
This commit is contained in:
parent
e1b83b8172
commit
ff4ba98e68
@ -144,6 +144,16 @@ private _fixStatic = {
|
||||
};
|
||||
["StaticWeapon", "init", _fixStatic] call CBA_fnc_addClassEventHandler;
|
||||
["Car", "init", _fixStatic] call CBA_fnc_addClassEventHandler;
|
||||
addMissionEventHandler ["Loaded",{
|
||||
{
|
||||
TRACE_1("starting preload (save load)",_x);
|
||||
[{
|
||||
1 preloadObject (_this select 0);
|
||||
}, {
|
||||
TRACE_1("preload done",_this);
|
||||
}, [_x]] call EFUNC(common,waitUntilAndExecute);
|
||||
} forEach GVAR(fixedStatics);
|
||||
}];
|
||||
|
||||
|
||||
ADDON = true;
|
||||
|
Loading…
Reference in New Issue
Block a user