class SG_Replacer extends Mutator
    config;

function ModifyPlayer(Pawn Other)
{
 local Inventory SG;

 SG = Other.FindInventoryType(class'ShieldGun');
 if (SG != none)
  {
   Other.DeleteInventory(SG);
   SG.Destroy();
   Other.GiveWeapon("SHIELD_2016.SHIELD_GUN");
  }

 if ( NextMutator != None )
  NextMutator.ModifyPlayer(Other);
}

defaultproperties
{
     GroupName="Arena"
     FriendlyName="UT4 Shieldgun"
     Description="Updates your shieldgun to new version"
     bNetTemporary=True
     bAlwaysRelevant=True
     RemoteRole=ROLE_SimulatedProxy
}
