Removed some world << "" debug messages from multichoice polls.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5373 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2012-12-22 09:56:10 +00:00
parent 700ee13c19
commit 77afc4383d
@@ -225,16 +225,13 @@
if("MULTICHOICE")
var/id_min = text2num(href_list["minoptionid"])
var/id_max = text2num(href_list["maxoptionid"])
world << "MULTICHOICE"
if( (id_max - id_min) > 100 ) //Basic exploit prevention
usr << "The option ID difference is too big. Please contact administration or the database admin."
return
for(var/optionid = id_min; optionid <= id_max; optionid++)
world << "checking [optionid]"
if(!isnull(href_list["option_[optionid]"])) //Test if this optionid was selected
world << "FOUND [optionid]"
vote_on_poll(pollid, optionid, 1)
proc/IsJobAvailable(rank)