void resetBoosts(Entity entity)
 {
     if (entity.hasDelayedCall)
         entity.RemoveDelayedCall();
     entity.AddDelayedCall(5.0f, ent => {
         if (ent != null)
         {
             ent.shipBonus.damageBoost = 0;
             ent.shipBonus.fireRateBoost = 0;
         }
         if(player.count > 0)
             player.GetSingleEntity().isWeapon = false;
     });
 }