Fix warnings in WeaponIndicatorScript