Fixes the close button for the voting interface.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4992 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
elly1989@rocketmail.com
2012-11-02 11:20:21 +00:00
parent 50fe648a91
commit 4fd2d7d9d6

View File

@@ -217,7 +217,7 @@ datum/controller/vote
if(!usr || !usr.client) return //not necessary but meh...just in-case somebody does something stupid
switch(href_list["vote"])
if("close")
voting -= usr.ckey
voting -= usr.client
usr << browse(null, "window=vote")
return
if("cancel")