mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Prevent multiple Slots by deleting already killed Vehicles (with AdminTool)
This commit is contained in:
parent
6e50ce6763
commit
d6267babb1
@ -21,7 +21,7 @@ if (!isNull _vehicle) then {
|
||||
if (_vehSlot != "ABORT") then {
|
||||
_vehHiveKey = format ["%1:%2", (call EPOCH_fn_InstanceID), _vehSlot];
|
||||
["Vehicle", _vehHiveKey] call EPOCH_fnc_server_hiveDEL;
|
||||
EPOCH_VehicleSlots pushBack _vehSlot;
|
||||
EPOCH_VehicleSlots pushBackUnique _vehSlot;
|
||||
|
||||
missionNamespace setVariable ['EPOCH_VehicleSlotCount', count EPOCH_VehicleSlots, true];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user