From 760d2c2c2a3954b17eb245876018e737e8dcd689 Mon Sep 17 00:00:00 2001 From: He-Man Date: Thu, 7 Jul 2016 17:43:39 +0200 Subject: [PATCH] Update server_init.sqf Add 50 reserved slots to prevent despawning Vehicles, if spawned in by scripts --- Sources/epoch_server/init/server_init.sqf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/epoch_server/init/server_init.sqf b/Sources/epoch_server/init/server_init.sqf index 48d9cb32..964cf6a3 100644 --- a/Sources/epoch_server/init/server_init.sqf +++ b/Sources/epoch_server/init/server_init.sqf @@ -140,6 +140,8 @@ _allowedVehicleListName = ["allowedVehiclesList","allowedVehiclesList_CUP"] sele _allowedVehiclesList = getArray(configFile >> "CfgEpoch" >> worldName >> _allowedVehicleListName); _vehicleSlotLimit = 0; {_vehicleSlotLimit = _vehicleSlotLimit + (_x select 1)} forEach _allowedVehiclesList; +_ReservedSlots = 50; +_vehicleSlotLimit = _vehicleSlotLimit + _ReservedSlots; _vehicleSlotLimit call EPOCH_load_vehicles; diag_log "Epoch: Spawning vehicles";