From 0d051e133f7b194f3e29e7377d6600ac0ee1551d Mon Sep 17 00:00:00 2001 From: He-Man Date: Mon, 26 Feb 2018 21:09:39 +0100 Subject: [PATCH] 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. --- Sources/epoch_code/gui/scripts/Epoch_onPause.sqf | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/epoch_code/gui/scripts/Epoch_onPause.sqf b/Sources/epoch_code/gui/scripts/Epoch_onPause.sqf index 760f7454..1624afe9 100644 --- a/Sources/epoch_code/gui/scripts/Epoch_onPause.sqf +++ b/Sources/epoch_code/gui/scripts/Epoch_onPause.sqf @@ -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]; }; };