mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Delete DB key for sold Vehicles
This commit is contained in:
parent
48207e6573
commit
df34934d20
@ -91,8 +91,7 @@ if (_slot != -1) then {
|
||||
removeFromRemainsCollector [_vehicle];
|
||||
deleteVehicle _vehicle;
|
||||
_vehHiveKey = format["%1:%2", (call EPOCH_fn_InstanceID), _vehSlot];
|
||||
_VAL = [];
|
||||
["Vehicle", _vehHiveKey, _VAL] call EPOCH_fnc_server_hiveSET;
|
||||
["Vehicle", _vehHiveKey] call EPOCH_fnc_server_hiveDEL;
|
||||
EPOCH_VehicleSlots pushBack _vehSlot;
|
||||
missionNamespace setVariable ['EPOCH_VehicleSlotCount', count EPOCH_VehicleSlots, true];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user