At least with other games that use a similar repair weapon system they just become unusable until repaired, so you don't actually lose them.
Which imo also makes more sense and is less frustrating.