aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/scripts/vscripts/lobby/sh_lobby.gnut
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-07-12 14:51:43 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-07-12 14:51:43 +0100
commitba41749cc6a6693f11a7f1c7535ff758a461a424 (patch)
tree945786de1feff62180ea7c451c09482a3af823ac /Northstar.CustomServers/scripts/vscripts/lobby/sh_lobby.gnut
parent07b7eafd5c1845c70510b695446c23973fed1d4d (diff)
downloadNorthstarMods-ba41749cc6a6693f11a7f1c7535ff758a461a424.tar.gz
NorthstarMods-ba41749cc6a6693f11a7f1c7535ff758a461a424.zip
add hardpoint, infection changes, fra changes
Diffstat (limited to 'Northstar.CustomServers/scripts/vscripts/lobby/sh_lobby.gnut')
-rw-r--r--Northstar.CustomServers/scripts/vscripts/lobby/sh_lobby.gnut4
1 files changed, 2 insertions, 2 deletions
diff --git a/Northstar.CustomServers/scripts/vscripts/lobby/sh_lobby.gnut b/Northstar.CustomServers/scripts/vscripts/lobby/sh_lobby.gnut
index 24436017..fda0e5ff 100644
--- a/Northstar.CustomServers/scripts/vscripts/lobby/sh_lobby.gnut
+++ b/Northstar.CustomServers/scripts/vscripts/lobby/sh_lobby.gnut
@@ -161,7 +161,7 @@ string function GetPrivateMatchMapForIndex( int index )
{
array<string> mapsArray = GetPrivateMatchMaps()
- if ( index >= mapsArray.len() )
+ if ( index >= mapsArray.len() || index < 0 )
return ""
return mapsArray[index]
@@ -171,7 +171,7 @@ string function GetPrivateMatchModeForIndex( int index )
{
array<string> modesArray = GetPrivateMatchModes()
- if ( index >= modesArray.len() )
+ if ( index >= modesArray.len() || index < 0 )
return ""
return modesArray[index]