Skip to content

Commit

Permalink
Prevent Rockets From Firing On Death
Browse files Browse the repository at this point in the history
  • Loading branch information
Deaod committed May 1, 2024
1 parent 40c32c7 commit 930ff16
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Classes/ST_UT_Eightball.uc
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,11 @@ state FireRockets
local float Spread;
local int i;

if (bCanClientFire == false)
return;

PawnOwner = Pawn(Owner);
if ( PawnOwner == None )
if (PawnOwner == None)
return;
PawnOwner.PlayRecoil(FiringSpeed);
PlayerOwner = PlayerPawn(Owner);
Expand Down

0 comments on commit 930ff16

Please sign in to comment.