From d4b286660f56f4ca63628cfc99f532dc5a5a9719 Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Fri, 30 Dec 2016 16:29:34 -0500 Subject: [PATCH] Fix base objects duplicating when using plot take ownership #1811 Fixes #1811 --- CHANGE LOG 1.0.6.1.txt | 1 + SQF/dayz_code/actions/plot_take_ownership.sqf | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGE LOG 1.0.6.1.txt b/CHANGE LOG 1.0.6.1.txt index 06055abb8..3fa5d62ed 100644 --- a/CHANGE LOG 1.0.6.1.txt +++ b/CHANGE LOG 1.0.6.1.txt @@ -36,6 +36,7 @@ [FIXED] Handling of boiled water bottles < 10 oz #1838 (Also removed the requirement to have an empty tin can to boil water) @icomrade @schwanzkopfhegel [FIXED] Generator inventory not saving #1831 @icomrade @schwanzkopfhegel [FIXED] Filling fuel barrels takes the correct amount from fuel tanks now (210 instead of 40 litres). #1834 @schwanzkopfhegel @oiad +[FIXED] Base objects duplicating when using "take ownership" on plot pole. #1811 @BNG-Lance @Clanwarfare [NOTE] The fixes below are included in the 1.0.6 Build C server package released December 29th, 2016 (http://dayzepoch.com/a2dayzepoch.php) [FIXED] Hive child 309 errors that resulted in broken saving of newly built storage object inventory. @icomrade diff --git a/SQF/dayz_code/actions/plot_take_ownership.sqf b/SQF/dayz_code/actions/plot_take_ownership.sqf index ba3486805..be1fc4bc4 100644 --- a/SQF/dayz_code/actions/plot_take_ownership.sqf +++ b/SQF/dayz_code/actions/plot_take_ownership.sqf @@ -35,8 +35,8 @@ if (_hasAccess select 0) then { sleep 0.01; - PVDZE_obj_Delete = [_objectID, _objectUID, player]; - publicVariableServer "PVDZE_obj_Delete"; + PVDZ_obj_Destroy = [_objectID, _objectUID, player]; + publicVariableServer "PVDZ_obj_Destroy"; sleep 0.01;