mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-20 00:24:49 +00:00
Update inventory.cs
This commit is contained in:
parent
38b091e537
commit
1ca1b1b4e2
|
|
@ -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++ )
|
||||
|
|
|
|||
Loading…
Reference in a new issue