aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/sh_northstar_utils.gnut
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-20 21:31:33 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-20 21:31:33 +0000
commitdade102a0d4d14ba5ee560022b8e2f1ddf960977 (patch)
tree136e096242c08a1041f6a45919326bd7ac3d1b53 /Northstar.CustomServers/mod/scripts/vscripts/sh_northstar_utils.gnut
parentc02ec0cce39b36a6264e414a4741c8ea131f5286 (diff)
downloadNorthstarMods-dade102a0d4d14ba5ee560022b8e2f1ddf960977.tar.gz
NorthstarMods-dade102a0d4d14ba5ee560022b8e2f1ddf960977.zip
near-release fixes
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/sh_northstar_utils.gnut')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/sh_northstar_utils.gnut14
1 files changed, 0 insertions, 14 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/sh_northstar_utils.gnut b/Northstar.CustomServers/mod/scripts/vscripts/sh_northstar_utils.gnut
index 9fde28ddc..b26e48ca0 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/sh_northstar_utils.gnut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/sh_northstar_utils.gnut
@@ -1,11 +1,5 @@
globalize_all_functions
-global enum eNorthstarLobbyType
-{
- PrivateMatchLobby, // normal vanilla private lobby
- IntermissionLobby, // similar to tf1's intermission lobby, chooses next map automatically, can't change settings unless you're host
-}
-
// whether the server is a modded, northstar server
bool function IsNorthstarServer()
{
@@ -16,12 +10,4 @@ bool function IsNorthstarServer()
bool function ShouldReturnToLobby()
{
return GetConVarBool( "ns_should_return_to_lobby" )
-}
-
-int function GetNorthstarLobbyType()
-{
- if ( !IsNorthstarServer() )
- return eNorthstarLobbyType.PrivateMatchLobby
-
- return GetConVarInt( "ns_lobby_type" )
} \ No newline at end of file