Minor weapon replacement bugfix