From: Martin Taibr Date: Mon, 26 Aug 2019 16:13:00 +0000 (+0200) Subject: defaults in code X-Git-Tag: xonotic-v0.8.5~1360^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=83cd018ca2adbbf7296e83f28e80e8723586eebc;p=xonotic%2Fxonotic-data.pk3dir.git defaults in code --- diff --git a/qcsrc/common/gamemodes/gamemode/clanarena/sv_clanarena.qh b/qcsrc/common/gamemodes/gamemode/clanarena/sv_clanarena.qh index f1fc64509..f6420b852 100644 --- a/qcsrc/common/gamemodes/gamemode/clanarena/sv_clanarena.qh +++ b/qcsrc/common/gamemodes/gamemode/clanarena/sv_clanarena.qh @@ -12,7 +12,7 @@ bool autocvar_g_ca_team_spawns; //int autocvar_g_ca_teams; int autocvar_g_ca_teams_override; float autocvar_g_ca_warmup; -string autocvar_g_ca_weaponarena; +string autocvar_g_ca_weaponarena = "most"; int ca_teams; diff --git a/qcsrc/common/gamemodes/gamemode/freezetag/sv_freezetag.qh b/qcsrc/common/gamemodes/gamemode/freezetag/sv_freezetag.qh index 6992db7b4..3eb753020 100644 --- a/qcsrc/common/gamemodes/gamemode/freezetag/sv_freezetag.qh +++ b/qcsrc/common/gamemodes/gamemode/freezetag/sv_freezetag.qh @@ -6,7 +6,7 @@ int autocvar_g_freezetag_point_limit; int autocvar_g_freezetag_point_leadlimit; bool autocvar_g_freezetag_team_spawns; -string autocvar_g_freezetag_weaponarena; +string autocvar_g_freezetag_weaponarena = "most_available"; void freezetag_Initialize(); diff --git a/qcsrc/common/gamemodes/gamemode/lms/sv_lms.qh b/qcsrc/common/gamemodes/gamemode/lms/sv_lms.qh index ba43ecfbc..996d371fe 100644 --- a/qcsrc/common/gamemodes/gamemode/lms/sv_lms.qh +++ b/qcsrc/common/gamemodes/gamemode/lms/sv_lms.qh @@ -6,7 +6,7 @@ .float lms_spectate_warning; #define autocvar_g_lms_lives_override cvar("g_lms_lives_override") -string autocvar_g_lms_weaponarena; +string autocvar_g_lms_weaponarena = "most_available"; void lms_Initialize();