mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-14 23:54:32 +00:00
Repair pack cycle console spam
This commit is contained in:
parent
fa0a1b4c28
commit
1a3690876d
1 changed files with 5 additions and 1 deletions
|
|
@ -530,7 +530,11 @@ function ShapeBase::cycleWeapon( %this, %data )
|
||||||
%slot = -1;
|
%slot = -1;
|
||||||
if ( %this.getMountedImage($WeaponSlot) != 0 )
|
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++ )
|
for ( %i = 0; %i < %this.weaponSlotCount; %i++ )
|
||||||
{
|
{
|
||||||
//error("curWeaponName == " @ %curWeaponName);
|
//error("curWeaponName == " @ %curWeaponName);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue