Skip to content

Commit

Permalink
Fix pb oversight
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar committed Feb 5, 2024
1 parent 9afc17a commit 45e2699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/projectiles/gun.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,7 @@ and you're good to go.
user.next_move = world.time //No click delay on PBs.

//Point blanking doesn't actually fire the projectile. Instead, it simulates firing the bullet proper.
if(!able_to_fire(user)) //If it's a valid PB aside from that you can't fire the gun, do nothing.
if(flags_gun_features & GUN_BURST_FIRING || !able_to_fire(user)) //If it's a valid PB aside from that you can't fire the gun, do nothing.
return TRUE

//The following relating to bursts was borrowed from Fire code.
Expand Down

0 comments on commit 45e2699

Please sign in to comment.