diff --git a/code/__HELPERS/timed_alerts.dm b/code/__HELPERS/timed_alerts.dm index c7293762dd3..6e115a7d0c6 100644 --- a/code/__HELPERS/timed_alerts.dm +++ b/code/__HELPERS/timed_alerts.dm @@ -20,7 +20,7 @@ /mob/proc/timed_alert(question as text, title as text, default as text, time as num, \ choice1 as text, choice2 as text, choice3 as text) - if (client) client.timed_alert(question, title, default, time, choice1, choice2, choice3) + if (client) return client.timed_alert(question, title, default, time, choice1, choice2, choice3) return diff --git a/code/modules/admin/verbs/one_click_antag.dm b/code/modules/admin/verbs/one_click_antag.dm index 80c3fef67e7..30a00193f26 100644 --- a/code/modules/admin/verbs/one_click_antag.dm +++ b/code/modules/admin/verbs/one_click_antag.dm @@ -168,7 +168,7 @@ client/proc/one_click_antag() if(candidates.len) candidates = shuffle(candidates) - for(var/mob/i in candidates) + for(var/mob/dead/observer/i in candidates) if(!i || !i.client) continue //Dont bother removing them from the list since we only grab one wizard theghost = i