mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
1 seconds broadcast-time for setunitloadout
This commit is contained in:
parent
8769421ca1
commit
001c49f148
@ -68,13 +68,14 @@ _respawnButton ctrlEnable false;
|
||||
[_display] spawn {
|
||||
disableSerialization;
|
||||
params ["_display"];
|
||||
_startTime = diag_tickTime+5;
|
||||
_startTime = diag_tickTime+4;
|
||||
waitUntil {
|
||||
uiSleep 0.2;
|
||||
(isNull _display) || ((_startTime - diag_tickTime) <= 0)
|
||||
};
|
||||
if (!isNull _display) then {
|
||||
player setUnitLoadout (getUnitLoadout player);
|
||||
uisleep 1; // give one second to broadcast clothing change
|
||||
missionnamespace setvariable ["EPOCH_forceUpdateNow",true];
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user