diff options
Diffstat (limited to 'Northstar.CustomServers/mod/scripts')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/mp/spawn.nut | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/spawn.nut b/Northstar.CustomServers/mod/scripts/vscripts/mp/spawn.nut index 42e107e4..2b1a0713 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/mp/spawn.nut +++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/spawn.nut @@ -653,7 +653,7 @@ entity function DecideSpawnZone_Generic( array<entity> spawnzones, int team ) return 0 } ) - entity chosenZone = possibleZones[ minint( RandomInt( 3 ), possibleZones.len() ) ] + entity chosenZone = possibleZones[ minint( RandomInt( 3 ), possibleZones.len() - 1 ) ] if ( spawnStateSpawnzones.shouldCreateMinimapSpawnzones ) { |