From 1ca1b1b4e2a2fc4601d4b5f7cfbe284b56a81d16 Mon Sep 17 00:00:00 2001 From: ChocoTaco Date: Fri, 8 Nov 2019 14:10:27 -0500 Subject: [PATCH] Update inventory.cs --- Classic/scripts/inventory.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Classic/scripts/inventory.cs b/Classic/scripts/inventory.cs index 2b46c2c..36a4d33 100644 --- a/Classic/scripts/inventory.cs +++ b/Classic/scripts/inventory.cs @@ -530,9 +530,7 @@ function ShapeBase::cycleWeapon( %this, %data ) %slot = -1; if ( %this.getMountedImage($WeaponSlot) != 0 ) { - if( %this.getMountedImage(0).getName() $= "RepairGunImage" ) //Console spam fix - %curWeapon = "RepairGunImage"; - else + if( %this.getMountedImage(0).getName() !$= "RepairGunImage" ) //Console spam fix %curWeapon = %this.getMountedImage($WeaponSlot).item.getName(); for ( %i = 0; %i < %this.weaponSlotCount; %i++ )