Removes players from pollCandidates consideration that have enabled antag hud

This commit is contained in:
Tastyfish
2016-03-07 16:21:09 -05:00
parent 0e0225b1ee
commit 2d11b519e1
+2
View File
@@ -463,6 +463,8 @@ proc/pollCandidates(var/Question, var/be_special_type, var/antag_age_check = 0,
if(roletext)
if(jobban_isbanned(G, roletext) || jobban_isbanned(G, "Syndicate"))
continue
if(G.has_enabled_antagHUD)
continue
spawn(0)
G << 'sound/misc/notice2.ogg' //Alerting them to their consideration
switch(alert(G,Question,"Please answer in [poll_time/10] seconds!","Yes","No"))