reorder check for client

This commit is contained in:
uraniummeltdown
2017-01-26 20:57:29 +04:00
parent 5e7521cb79
commit 79d43f763b
+1 -1
View File
@@ -478,6 +478,6 @@ proc/pollCandidates(Question, be_special_type, antag_age_check = 0, poll_time =
var/mob/M = C
if(M.client)
C = M.client
if(!C.prefs.windowflashing || !C)
if(!C || !C.prefs.windowflashing)
return
winset(C, "mainwindow", "flash=5")