Reload Loadout on Pause

Thx to Grahame for the inspiration to add it just before logout.
This should fix the login without clothings.
This will not fix not visible Clothings for others, because it only runs
just before logout, but Players can force it be pressing ESC and waiting
until this command is fired.
This commit is contained in:
He-Man 2018-02-26 21:09:39 +01:00
parent 7822902e0f
commit 0d051e133f

View File

@ -74,6 +74,7 @@ _respawnButton ctrlEnable false;
(isNull _display) || ((_startTime - diag_tickTime) <= 0)
};
if (!isNull _display) then {
player setUnitLoadout (getUnitLoadout player);
missionnamespace setvariable ["EPOCH_forceUpdateNow",true];
};
};