Fix cvar assignment typo.

This commit is contained in:
Mari the Deer 2020-10-22 19:05:45 +02:00
commit 46c111be1d
2 changed files with 2 additions and 2 deletions

View file

@ -1,2 +1,2 @@
[default]
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r567 \cu(Thu 22 Oct 17:49:22 CEST 2020)";
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r568 \cu(Thu 22 Oct 19:05:45 CEST 2020)";

View file

@ -1094,7 +1094,7 @@ Class SWWMWeapon : Weapon abstract
if ( !phair || !phair.GetBool() ) return;
if ( !ch_on ) ch_on = CVar.GetCVar('crosshairon',players[consoleplayer]);
if ( !ch_on.GetBool() ) return;
if ( !ch_force ) ch_on = CVar.GetCVar('crosshairforce',players[consoleplayer]);
if ( !ch_force ) ch_force = CVar.GetCVar('crosshairforce',players[consoleplayer]);
if ( ch_force.GetBool() ) return;
let sb = SWWMStatusBar(StatusBar);
if ( !sb ) return;