diff --git a/code/_onclick/hud/alert.dm b/code/_onclick/hud/alert.dm index 0b70b7f28f0..a4d72d5d1d0 100644 --- a/code/_onclick/hud/alert.dm +++ b/code/_onclick/hud/alert.dm @@ -652,7 +652,7 @@ so as to remain in compliance with the most up-to-date laws." success = poll.sign_up(G) if(success) // Add a small overlay to indicate we've signed up - update_signed_up_alert() + update_signed_up_alert(usr) else if(target) switch(action) if(NOTIFY_ATTACK) @@ -682,14 +682,14 @@ so as to remain in compliance with the most up-to-date laws." poll.remove_candidate(G) else poll.sign_up(G) - update_signed_up_alert() + update_signed_up_alert(G) -/obj/screen/alert/notify_action/proc/update_signed_up_alert() +/obj/screen/alert/notify_action/proc/update_signed_up_alert(mob/user) if(!signed_up_overlay) signed_up_overlay = image('icons/mob/screen_gen.dmi', icon_state = "selector") signed_up_overlay.layer = FLOAT_LAYER signed_up_overlay.plane = FLOAT_PLANE + 2 - if(usr in poll.signed_up) + if(user in poll.signed_up) overlays += signed_up_overlay else overlays -= signed_up_overlay diff --git a/code/controllers/subsystem/SSghost_spawns.dm b/code/controllers/subsystem/SSghost_spawns.dm index c433765f0bc..9811088f742 100644 --- a/code/controllers/subsystem/SSghost_spawns.dm +++ b/code/controllers/subsystem/SSghost_spawns.dm @@ -96,7 +96,7 @@ SUBSYSTEM_DEF(ghost_spawns) if(P != P2 && P.hash == P2.hash) // If there's already a poll for an identical mob type ongoing and the client is signed up for it, sign them up for this one if(!inherited_sign_up && (M in P2.signed_up) && P.sign_up(M, TRUE)) - A.update_signed_up_alert() + A.update_signed_up_alert(M) inherited_sign_up = TRUE // This number is used to display the number of polls the alert regroups num_stack++