mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Should fix switching clothes
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user