Permalink
Browse files

Temp fix for vault_pitch.sqf error in 1.0.6 release

  • Loading branch information...
ebaydayz
ebaydayz committed Dec 1, 2016
1 parent c0d5fcf commit 40ea519fd326e1242f2f2c49b060b0585a8bb70a
Showing with 3 additions and 2 deletions.
  1. +2 −2 SQF/dayz_code/actions/player_build.sqf
  2. +1 −0 SQF/dayz_server/compile/server_publishObject.sqf
@@ -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 {

0 comments on commit 40ea519

Please sign in to comment.