Fix door/plot management friends not writing to DB

This commit is contained in:
icomrade
2016-07-23 17:19:06 -04:00
parent 9c4e30ea08
commit a3c3ccc3bf
5 changed files with 28 additions and 32 deletions

View File

@@ -86,8 +86,8 @@ _object_inventory = {
};
};
_previous = str(_object getVariable["lastInventory",[]]);
if (str _inventory != _previous) then {
//_previous = str(_object getVariable["lastInventory",[]]); //causes issues with door/plot management
//if (str _inventory != _previous) then {
_object setVariable["lastInventory",_inventory];
if (_objectID == "0") then {
_key = format["CHILD:309:%1:",_objectUID] + str _inventory + ":";
@@ -100,7 +100,7 @@ _object_inventory = {
#endif
_key call server_hiveWrite;
};
//};
};
_object_damage = {