Fix Spreadgun and Wallbuster not autoswitching on first pickup.

This commit is contained in:
Mari the Deer 2022-09-20 11:28:10 +02:00
commit f535873e0b
3 changed files with 4 additions and 2 deletions

View file

@ -30,6 +30,7 @@ Class Wallbuster : SWWMWeapon
{
Super.DoEffect();
// push back selection order if weapon is unloaded
if ( !bInitialized ) return;
for ( int i=0; i<25; i++ )
{
if ( !loaded[i] || fired[i] ) continue;

View file

@ -157,6 +157,7 @@ Class Spreadgun : SWWMWeapon
{
Super.DoEffect();
// push back selection order if weapon is unloaded
if ( !bInitialized ) return;
SelectionOrder = (chambered&&!fired)?default.SelectionOrder:1500;
}