Hotfix: Shouldn't spawn DLC weapons here yet.

This commit is contained in:
Mari the Deer 2021-10-09 21:45:10 +02:00
commit a5b3981da6
2 changed files with 8 additions and 7 deletions

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\chSWWM \czGZ\c- \cw1.1.19 \cu(Sat 9 Oct 21:36:29 CEST 2021)\c-";
SWWM_SHORTVER="\cw1.1.19 \cu(2021-10-09 21:36:29)\c-";
SWWM_MODVER="\chSWWM \czGZ\c- \cw1.1.20 \cu(Sat 9 Oct 21:45:27 CEST 2021)\c-";
SWWM_SHORTVER="\cw1.1.20 \cu(2021-10-09 21:45:27)\c-";

View file

@ -1996,11 +1996,12 @@ Class SWWMUtility
}
if ( !needsmelee && needsgun )
{
bool needsexplo = CheckNeedsItem('ExplodiumGun',true);
bool needsblast = CheckNeedsItem('PlasmaBlast',true);
if ( needsexplo && !needsblast ) return 'ExplodiumGun';
if ( !needsexplo && needsblast ) return 'PlasmaBlast';
return Random[Replacements](0,1)?'ExplodiumGun':'PlasmaBlast';
//bool needsexplo = CheckNeedsItem('ExplodiumGun',true);
//bool needsblast = CheckNeedsItem('PlasmaBlast',true);
//if ( needsexplo && !needsblast ) return 'ExplodiumGun';
//if ( !needsexplo && needsblast ) return 'PlasmaBlast';
//return Random[Replacements](0,1)?'ExplodiumGun':'PlasmaBlast';
return 'ExplodiumGun';
}
if ( needsmelee && !needsgun )
{