Repair pack cycle console spam

This commit is contained in:
ChocoTaco 2019-11-08 13:48:34 -05:00
parent fa0a1b4c28
commit 1a3690876d

View file

@ -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);