Skip to content

Commit

Permalink
no null args
Browse files Browse the repository at this point in the history
  • Loading branch information
Doubleumc committed Nov 12, 2023
1 parent e65c61c commit 2602c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/vehicles/hardpoints/hardpoint.dm
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
/obj/item/hardpoint/Initialize()
. = ..()
set_bullet_traits()
AddComponent(/datum/component/automatedfire/autofire, fire_delay, burst_delay, burst_amount, gun_firemode, autofire_slow_mult, CALLBACK(src, PROC_REF(set_burst_firing)), CALLBACK(src, PROC_REF(reset_fire)), CALLBACK(src, PROC_REF(fire_wrapper)), null, CALLBACK(src, PROC_REF(set_auto_firing)))
AddComponent(/datum/component/automatedfire/autofire, fire_delay, burst_delay, burst_amount, gun_firemode, autofire_slow_mult, CALLBACK(src, PROC_REF(set_burst_firing)), CALLBACK(src, PROC_REF(reset_fire)), CALLBACK(src, PROC_REF(fire_wrapper)), callback_set_firing = CALLBACK(src, PROC_REF(set_auto_firing)))

/obj/item/hardpoint/Destroy()
if(owner)
Expand Down

0 comments on commit 2602c5b

Please sign in to comment.