mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-20 23:20:50 +03:00
another sync with trader fixes
This commit is contained in:
@@ -16,20 +16,19 @@ diag_log ("DW_DEBUG: _newObject: " + str(_newObject));
|
||||
};
|
||||
*/
|
||||
|
||||
_characterID = parseNumber _characterID;
|
||||
_minutes = parseNumber "_minutes";
|
||||
|
||||
if !(isnil "_characterID") then {
|
||||
if (typeName _minutes == "STRING") then
|
||||
{
|
||||
_minutes = parseNumber _minutes;
|
||||
};
|
||||
|
||||
if (_characterID != 0) then {
|
||||
if (_characterID != "0") then
|
||||
{
|
||||
_key = format["CHILD:202:%1:%2:",_characterID,_minutes];
|
||||
//diag_log ("HIVE: WRITE: "+ str(_key));
|
||||
_key call server_hiveWrite;
|
||||
} else {
|
||||
deleteVehicle _newObject;
|
||||
};
|
||||
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
deleteVehicle _newObject;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user