I am trying to call the fire method from my ScarAssaultRifle class from my character class but every time i try to shoot it just crashes all my other methods work but the fire one doesn’t Gun class:
Character class: