Skip to content

Commit

Permalink
TYPE_PROC over PROC_REf
Browse files Browse the repository at this point in the history
  • Loading branch information
dwasint committed Sep 23, 2023
1 parent 24a944a commit ee1c321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monkestation/code/modules/ghost_players/ghost_player.dm
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/mob/living/carbon/human/ghost/Destroy()
. = ..()
if(dueling && linked_button)
addtimer(CALLBACK(linked_button, PROC_REF(end_duel), src), 3 SECONDS)
addtimer(CALLBACK(linked_button, TYPE_PROC_REF(/obj/structure/fight_button, end_duel), src), 3 SECONDS)

if(linked_button)
linked_button.remove_user(src)
Expand Down

0 comments on commit ee1c321

Please sign in to comment.