From a67bb3b3c5f6fc8ddb97da5609793da50388b3e6 Mon Sep 17 00:00:00 2001 From: He-Man Date: Thu, 14 Sep 2017 17:56:40 +0200 Subject: [PATCH] Fix for 1st Trader not spawning --- .../compile/epoch_traders/EPOCH_server_loadTraders.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/epoch_server/compile/epoch_traders/EPOCH_server_loadTraders.sqf b/Sources/epoch_server/compile/epoch_traders/EPOCH_server_loadTraders.sqf index 7005e233..a563452d 100644 --- a/Sources/epoch_server/compile/epoch_traders/EPOCH_server_loadTraders.sqf +++ b/Sources/epoch_server/compile/epoch_traders/EPOCH_server_loadTraders.sqf @@ -29,7 +29,7 @@ _storedVehicleLimit = [_serverSettingsConfig, "storedVehicleLimit", 20] call EPO EPOCH_storedVehicleCount = 0; -for "_i" from 1 to _maxTraderLimit do { +for "_i" from 0 to (_maxTraderLimit-1) do { _traderSlotIndex = EPOCH_TraderSlots pushBack _i; // Spawn static traders first