mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Temp fix for vault_pitch.sqf error in 1.0.6 release
This commit is contained in:
@@ -434,7 +434,7 @@ if (_canBuild select 0) then {
|
||||
_tmpbuilt setVariable ["CharacterID",_combination,true];
|
||||
if (DZE_permanentPlot) then {
|
||||
_tmpbuilt setVariable ["ownerPUID",dayz_playerUID,true];
|
||||
PVDZ_obj_Publish = [_combination,_tmpbuilt,[_dir,_location,dayz_playerUID],_classname];
|
||||
PVDZ_obj_Publish = [_combination,_tmpbuilt,[_dir,_location,dayz_playerUID],[]];
|
||||
if (_lockable == 3) then {
|
||||
_friendsArr = [[dayz_playerUID,toArray (name player)]];
|
||||
_tmpbuilt setVariable ["doorfriends", _friendsArr, true];
|
||||
@@ -461,7 +461,7 @@ if (_canBuild select 0) then {
|
||||
_tmpbuilt setVariable ["plotfriends", _friendsArr, true];
|
||||
PVDZ_obj_Publish = [dayz_characterID,_tmpbuilt,[_dir,_location,dayz_playerUID],_friendsArr];
|
||||
} else {
|
||||
PVDZ_obj_Publish = [dayz_characterID,_tmpbuilt,[_dir,_location,dayz_playerUID],_classname];
|
||||
PVDZ_obj_Publish = [dayz_characterID,_tmpbuilt,[_dir,_location,dayz_playerUID],[]];
|
||||
};
|
||||
} else {
|
||||
PVDZ_obj_Publish = [dayz_characterID,_tmpbuilt,[_dir,_location],[]];
|
||||
|
||||
@@ -6,6 +6,7 @@ _characterID = _this select 0;
|
||||
_object = _this select 1;
|
||||
_worldspace = _this select 2;
|
||||
_inventory = _this select 3;
|
||||
if (typeName _inventory != "ARRAY") then {_inventory = [];}; //Temp fix for error in vault_pitch, player_build.sqf in 1.0.6 release
|
||||
_type = typeOf _object;
|
||||
|
||||
if ([_object, "Server"] call check_publishobject) then {
|
||||
|
||||
Reference in New Issue
Block a user