From: Samual Lenks Date: Mon, 17 Feb 2014 03:33:27 +0000 (-0500) Subject: Fix "low gravity" check X-Git-Tag: xonotic-v0.8.0~226^2~9 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a73dd06468dfdc517fc6ff801ba8cf251dcd74b6;p=xonotic%2Fxonotic-data.pk3dir.git Fix "low gravity" check --- diff --git a/qcsrc/server/teamplay.qc b/qcsrc/server/teamplay.qc index 2a1fb2e2f..e332e55ed 100644 --- a/qcsrc/server/teamplay.qc +++ b/qcsrc/server/teamplay.qc @@ -290,7 +290,7 @@ string getwelcomemessage(void) } if(autocvar_g_start_weapon_laser == 0) modifications = strcat(modifications, ", No start weapons"); - if(autocvar_sv_gravity < 800) + if(cvar("sv_gravity") < stof(cvar_defstring("sv_gravity"))) modifications = strcat(modifications, ", Low gravity"); if(g_cloaked && !g_cts) modifications = strcat(modifications, ", Cloaked");