aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2023-10-10 16:41:48 +0100
committerGitHub <noreply@github.com>2023-10-10 17:41:48 +0200
commitadd7305318b6fc1fe74389c60c352a19bddd7748 (patch)
tree2926817f4733bfd2a2c8b9694895c035cd03bb48 /Northstar.CustomServers
parent70c599a345bf5be16ae76d98de2943ee388e6d07 (diff)
downloadNorthstarMods-add7305318b6fc1fe74389c60c352a19bddd7748.tar.gz
NorthstarMods-add7305318b6fc1fe74389c60c352a19bddd7748.zip
Remove unnecessary convars (#530)v1.19.6-rc2v1.19.6
Removes some convars we don't need at all
Diffstat (limited to 'Northstar.CustomServers')
-rw-r--r--Northstar.CustomServers/mod.json9
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/sh_northstar_utils.gnut6
2 files changed, 0 insertions, 15 deletions
diff --git a/Northstar.CustomServers/mod.json b/Northstar.CustomServers/mod.json
index de3fcd0d1..fa51f4d41 100644
--- a/Northstar.CustomServers/mod.json
+++ b/Northstar.CustomServers/mod.json
@@ -5,15 +5,6 @@
"LoadPriority": 0,
"ConVars": [
{
- "Name": "ns_lobby_type",
- "DefaultValue": "0"
- },
- {
- "Name": "ns_is_modded_server",
- "DefaultValue": "1",
- "Flags": 8192
- },
- {
"Name": "ns_should_return_to_lobby",
"DefaultValue": "1"
},
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/sh_northstar_utils.gnut b/Northstar.CustomServers/mod/scripts/vscripts/sh_northstar_utils.gnut
index b26e48ca0..f8597744f 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
-// whether the server is a modded, northstar server
-bool function IsNorthstarServer()
-{
- return GetConVarBool( "ns_is_modded_server" )
-}
-
// whether the game should return to the lobby on GameRules_EndMatch()
bool function ShouldReturnToLobby()
{