From 61f88192864d35f47df3fea0eba0541c96c62e15 Mon Sep 17 00:00:00 2001 From: LetterJay Date: Thu, 18 May 2017 02:37:12 -0500 Subject: [PATCH] oops --- code/__HELPERS/game.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/__HELPERS/game.dm b/code/__HELPERS/game.dm index 9384e3fcfe..104646170d 100644 --- a/code/__HELPERS/game.dm +++ b/code/__HELPERS/game.dm @@ -424,7 +424,7 @@ switch(ignore_category ? askuser(M,Question,"Please answer in [poll_time/10] seconds!","Yes","No","Never for this round", StealFocus=0, Timeout=poll_time) : askuser(M,Question,"Please answer in [poll_time/10] seconds!","Yes","No", StealFocus=0, Timeout=poll_time)) if(1) to_chat(M, "Choice registered: Yes.") - if((world.time-time_passed)>poll_time) + if(time_passed + poll_time <= world.time) to_chat(M, "Sorry, you answered too late to be considered!") M << 'sound/machines/buzz-sigh.ogg' candidates -= M @@ -449,7 +449,7 @@ for(var/mob/dead/observer/G in GLOB.player_list) candidates += G -return pollCandidates(Question, jobbanType, gametypeCheck, be_special_flag, poll_time, ignore_category, flashwindow, candidates) + return pollCandidates(Question, jobbanType, gametypeCheck, be_special_flag, poll_time, ignore_category, flashwindow, candidates) /proc/pollCandidates(Question, jobbanType, datum/game_mode/gametypeCheck, be_special_flag = 0, poll_time = 300, ignore_category = null, flashwindow = TRUE, list/group = null) var/time_passed = world.time