Should fix switching clothes

This commit is contained in:
icomrade
2016-08-12 23:07:01 -04:00
parent e8cd89a194
commit fd3475a617

View File

@@ -151,7 +151,6 @@ if (!isNil "_newBackpackType" && {_newBackpackType != ""}) then {
};
} count _backpackMag;
(findDisplay 106) closeDisplay 0;
if (gear_done) then {sleep 0.001; disableUserInput false;};
_countr = 0;
{
dayz_myBackpack addWeaponCargoGlobal [_x,(_backpackWpnQtys select _countr)];
@@ -161,6 +160,8 @@ if (!isNil "_newBackpackType" && {_newBackpackType != ""}) then {
call _switchUnit;
};
if (gear_done) then {disableUserInput false;};
//Debug Message
diag_log "Swichtable Unit Created. Equipment:";
diag_log format["Weapons: %1",weapons _newUnit];