Fix Mortal Rifle showing red slot even if rounds available.
This commit is contained in:
parent
cdd2792260
commit
7a079b4f68
2 changed files with 3 additions and 3 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r537 \cu(Mon 3 Oct 00:21:57 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r537 \cu(2022-10-03 00:21:57)\c-";
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r538 \cu(Mon 3 Oct 19:00:01 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r538 \cu(2022-10-03 19:00:01)\c-";
|
||||
|
|
|
|||
|
|
@ -254,7 +254,7 @@ Class MisterRifle : SWWMWeapon
|
|||
|
||||
override bool ReportHUDAmmo()
|
||||
{
|
||||
return (chambered&&!fired)||(clipcount>0)||(Ammo1.Amount>0)||(gchambered&&!gfired)||(Ammo2.Amount>0);
|
||||
return (chambered&&!fired)||(clipcount>0)||(Ammo1.Amount>0)||(Owner.CountInv("MisterRound")>0)||(gchambered&&!gfired)||(Ammo2.Amount>0);
|
||||
}
|
||||
|
||||
override bool CheckAmmo( int firemode, bool autoswitch, bool requireammo, int ammocount )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue