Skip to content

Commit

Permalink
runtime fix
Browse files Browse the repository at this point in the history
  • Loading branch information
johndoe2013 committed Jul 26, 2023
1 parent 9e9fc38 commit d4a5545
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/projectiles/gun.dm
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,8 @@
else if(M.r_hand == src)
M.update_inv_r_hand()

setup_firemodes()

/obj/item/weapon/gun/proc/handle_random_attachments()
var/attachmentchoice

Expand Down Expand Up @@ -1766,13 +1768,11 @@ not all weapons use normal magazines etc. load_into_chamber() itself is designed
/obj/item/weapon/gun/proc/set_burst_amount(value, mob/user)
burst_amount = value
SEND_SIGNAL(src, COMSIG_GUN_BURST_SHOTS_TO_FIRE_MODIFIED, burst_amount)
setup_firemodes()

/// adder for burst_amount
/obj/item/weapon/gun/proc/modify_burst_amount(value, mob/user)
burst_amount += value
SEND_SIGNAL(src, COMSIG_GUN_BURST_SHOTS_TO_FIRE_MODIFIED, burst_amount)
setup_firemodes()

/// Adder for burst_delay
/obj/item/weapon/gun/proc/modify_burst_delay(value, mob/user)
Expand Down

0 comments on commit d4a5545

Please sign in to comment.