Update player_countMagazinesWBackpack.sqf

There may be too long pauses with low FPS.
This commit is contained in:
F507DMT
2019-01-15 01:58:39 +06:00
committed by GitHub
parent bcf54dd1a5
commit 967abbdcd9

View File

@@ -50,7 +50,7 @@ if ((typeOf (unitBackPack player)) != "") then {
ctrlActivate (_dialog displayCtrl 157);
if (gear_done) then {
waitUntil {ctrlShown (_dialog displayCtrl 159)};
sleep 0.001;
uiSleep 0.001;
};
for "_i" from 5000 to (5000 + _count) do {
@@ -69,6 +69,6 @@ if ((typeOf (unitBackPack player)) != "") then {
};
(findDisplay 106) closeDisplay 0;
if (gear_done) then {sleep 0.001;};
if (gear_done) then {uiSleep 0.001;};
_magazineArray