]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't execute client config on dedicated server
authorterencehill <piuntn@gmail.com>
Sat, 27 Jul 2024 14:53:11 +0000 (16:53 +0200)
committerterencehill <piuntn@gmail.com>
Sat, 27 Jul 2024 14:53:11 +0000 (16:53 +0200)
xonotic-common.cfg

index b0f4cf668797169b554964453b4ca4304c088ddf..fbae59113fb3bdb22c2d14237992fce0a8a8fc57 100644 (file)
@@ -48,7 +48,11 @@ exec commands.cfg
 // this should be executed only once even on ruleset-votable servers, otherwise the tips would always start from 0
 if_dedicated exec help.cfg
 
-exec xonotic-client.cfg
+// TODO if possible remove client notification cvars from the server
+// only a few cvars in notifications.cfg are server settings
+if_dedicated exec notifications.cfg
+if_client exec xonotic-client.cfg
+
 exec xonotic-server.cfg
 
 set ekg 0      "Throw huge amounts of gibs"