mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 04:23:13 +03:00
Small fix, revert 1 frame uisleep to regular sleep
I wasn't getting errors without if (gear_done) then {}; surrounding the
uiSleeps, so I don't quite trust the engine was executing them, I also
question the ability of uisleep to handle single frame precision (but I
haven't tested anything regarding this yet).
This commit is contained in:
@@ -128,9 +128,9 @@ if (!isNil "_newBackpackType") then {
|
||||
_backpackWpnQtys = _backpackWpn select 1;
|
||||
};
|
||||
[] call _switchUnit;
|
||||
uiSleep 0.001;
|
||||
if (gear_done) then {Sleep 0.001;};
|
||||
["1"] call gearDialog_create;
|
||||
uiSleep 0.001;
|
||||
if (gear_done) then {Sleep 0.001;};
|
||||
//magazines
|
||||
_countr = 0;
|
||||
{
|
||||
@@ -151,7 +151,7 @@ if (!isNil "_newBackpackType") then {
|
||||
};
|
||||
} count _backpackMag;
|
||||
(findDisplay 106) closeDisplay 0;
|
||||
if (gear_done) then {uiSleep 0.001; disableUserInput false;};
|
||||
if (gear_done) then {Sleep 0.001; disableUserInput false;};
|
||||
_countr = 0;
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user