From 1a3690876d7597ef926ec0946efebea834f8f807 Mon Sep 17 00:00:00 2001 From: ChocoTaco Date: Fri, 8 Nov 2019 13:48:34 -0500 Subject: [PATCH] Repair pack cycle console spam --- Classic/scripts/inventory.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Classic/scripts/inventory.cs b/Classic/scripts/inventory.cs index f945b3e..2b46c2c 100644 --- a/Classic/scripts/inventory.cs +++ b/Classic/scripts/inventory.cs @@ -530,7 +530,11 @@ function ShapeBase::cycleWeapon( %this, %data ) %slot = -1; if ( %this.getMountedImage($WeaponSlot) != 0 ) { - %curWeapon = %this.getMountedImage($WeaponSlot).item.getName(); + if( %this.getMountedImage(0).getName() $= "RepairGunImage" ) //Console spam fix + %curWeapon = "RepairGunImage"; + else + %curWeapon = %this.getMountedImage($WeaponSlot).item.getName(); + for ( %i = 0; %i < %this.weaponSlotCount; %i++ ) { //error("curWeaponName == " @ %curWeaponName);