mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
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:
parent
7822902e0f
commit
0d051e133f
@ -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];
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user