Temp fix for vault_pitch.sqf error in 1.0.6 release

This commit is contained in:
ebaydayz
2016-12-01 15:31:09 -05:00
parent c0d5fcf17c
commit 40ea519fd3
2 changed files with 3 additions and 2 deletions

View File

@@ -434,7 +434,7 @@ if (_canBuild select 0) then {
_tmpbuilt setVariable ["CharacterID",_combination,true]; _tmpbuilt setVariable ["CharacterID",_combination,true];
if (DZE_permanentPlot) then { if (DZE_permanentPlot) then {
_tmpbuilt setVariable ["ownerPUID",dayz_playerUID,true]; _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 { if (_lockable == 3) then {
_friendsArr = [[dayz_playerUID,toArray (name player)]]; _friendsArr = [[dayz_playerUID,toArray (name player)]];
_tmpbuilt setVariable ["doorfriends", _friendsArr, true]; _tmpbuilt setVariable ["doorfriends", _friendsArr, true];
@@ -461,7 +461,7 @@ if (_canBuild select 0) then {
_tmpbuilt setVariable ["plotfriends", _friendsArr, true]; _tmpbuilt setVariable ["plotfriends", _friendsArr, true];
PVDZ_obj_Publish = [dayz_characterID,_tmpbuilt,[_dir,_location,dayz_playerUID],_friendsArr]; PVDZ_obj_Publish = [dayz_characterID,_tmpbuilt,[_dir,_location,dayz_playerUID],_friendsArr];
} else { } else {
PVDZ_obj_Publish = [dayz_characterID,_tmpbuilt,[_dir,_location,dayz_playerUID],_classname]; PVDZ_obj_Publish = [dayz_characterID,_tmpbuilt,[_dir,_location,dayz_playerUID],[]];
}; };
} else { } else {
PVDZ_obj_Publish = [dayz_characterID,_tmpbuilt,[_dir,_location],[]]; PVDZ_obj_Publish = [dayz_characterID,_tmpbuilt,[_dir,_location],[]];

View File

@@ -6,6 +6,7 @@ _characterID = _this select 0;
_object = _this select 1; _object = _this select 1;
_worldspace = _this select 2; _worldspace = _this select 2;
_inventory = _this select 3; _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; _type = typeOf _object;
if ([_object, "Server"] call check_publishobject) then { if ([_object, "Server"] call check_publishobject) then {