Instant Runoff Voting! (#19153)

* Instant Runoff Voting!

This adds the game code required for voting IRV style

* Fixes votes not working for non-admins

* spans and databases

* this is a silly commit, you should never go here again.

* That explains why some people couldn't drag until they re-opened the page.

* Prevent window focus fuckary with voting.
This commit is contained in:
Kyle Spier-Swenson
2016-07-06 16:03:43 +12:00
committed by oranges
parent 45049c0f67
commit f8e4304d95
7 changed files with 325 additions and 22 deletions
+5
View File
@@ -224,6 +224,11 @@ You can set verify to TRUE if you want send() to sleep until the client has the
"large_stamp-law.png" = 'icons/stamp_icons/large_stamp-law.png'
)
/datum/asset/simple/IRV
assets = list(
"jquery-ui.custom-core-widgit-mouse-sortable-min.js" = 'html/IRV/jquery-ui.custom-core-widgit-mouse-sortable-min.js',
"jquery-1.10.2.min.js" = 'html/IRV/jquery-1.10.2.min.js'
)
//Registers HTML Interface assets.
/datum/asset/HTML_interface/register()