I was not entirely sure what all that did, I can fix it, but it was needed to suppress a debug message I got when firing the weapon.