]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Allow mappers to set r_water and server admins to add mapinfo ACLs
authorbones_was_here <bones_was_here@yahoo.com.au>
Sun, 14 Jun 2020 08:38:07 +0000 (18:38 +1000)
committerbones_was_here <bones_was_here@yahoo.com.au>
Sun, 14 Jun 2020 08:38:07 +0000 (18:38 +1000)
qcsrc/common/mapinfo.qh
qcsrc/server/g_world.qc

index 4d598e88caa2346378b9295fdd7dc36c7ec59dbc..9b4dfa2575aff6461a2fd56857f27ca6da066a1c 100644 (file)
@@ -680,4 +680,4 @@ void MapInfo_ClearTemps(); // call this when done with mapinfo for this frame
 void MapInfo_Shutdown(); // call this in the shutdown handler
 
 #define MAPINFO_SETTEMP_ACL_USER cvar_string("g_mapinfo_settemp_acl")
-#define MAPINFO_SETTEMP_ACL_SYSTEM "-g_mapinfo_* -rcon_* -_* -g_ban* -r_water +*"
+#define MAPINFO_SETTEMP_ACL_SYSTEM "-g_mapinfo_* -rcon_* -_* -g_ban* +*"
index 0e9f7fa661530e085899da83540b24f9e3065d34..26cead4cc5c6941805e5a05a7db4660738cd4015 100644 (file)
@@ -294,6 +294,7 @@ void cvar_changes_init()
                BADCVAR("nextmap");
                BADCVAR("teamplay");
                BADCVAR("timelimit");
+               BADCVAR("g_mapinfo_settemp_acl");
                BADCVAR("g_mapinfo_ignore_warnings");
                BADCVAR("g_maplist_ignore_sizes");
                BADCVAR("g_maplist_sizes_count_bots");