mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Fix change clothes dupe
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user