Prevent manual switch to dual guns if only owning one.
This commit is contained in:
parent
0243eb9cf6
commit
27cc8488cd
2 changed files with 9 additions and 2 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r107 \cu(Wed 8 Jun 22:06:24 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r107 \cu(2022-06-08 22:06:24)\c-";
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r108 \cu(Thu 9 Jun 10:51:16 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r108 \cu(2022-06-09 10:51:16)\c-";
|
||||
|
|
|
|||
|
|
@ -760,6 +760,13 @@ Class DualExplodiumGun : SWWMWeapon
|
|||
{
|
||||
return (SisterWeapon&&(SisterWeapon.Amount > 1));
|
||||
}
|
||||
override bool Use( bool pickup )
|
||||
{
|
||||
// need to override here because other mods will fuck things up
|
||||
if ( !SisterWeapon || (SisterWeapon.Amount < 2) )
|
||||
return false;
|
||||
return Super.Use(pickup);
|
||||
}
|
||||
|
||||
override bool ReportHUDAmmo()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue