Fix change clothes dupe

This commit is contained in:
icomrade
2016-09-27 20:55:06 -04:00
parent 15b05dc84b
commit 869f98efd7
6 changed files with 16 additions and 11 deletions

View File

@@ -365,7 +365,6 @@ if (!isDedicated) then {
if (!isNull (findDisplay 106)) then {
(findDisplay 106) closeDisplay 0;
};
if (isNil "gear_done") then { gear_done = false; };
openMap false;
closeDialog 0;
if (gear_done) then {sleep 0.001;};
@@ -373,7 +372,7 @@ if (!isDedicated) then {
if (gear_done) then {sleep 0.001;};
_dialog = findDisplay 106;
_i = 0;
while {isNull _dialog} do {//DO NOT CHANGE TO A FOR LOOP!
while {isNull _dialog} do {
_i = _i + 1;
_dialog = findDisplay 106;
if (gear_done) then {sleep 0.001;};
@@ -392,7 +391,6 @@ if (!isDedicated) then {
sleep 0.001;
};
};
gear_done = true;
_dialog
};