Small change to code. (Was locking up game ticker.)

This commit is contained in:
DJSnapshot
2013-09-29 22:13:58 -07:00
parent 1a48a2b6b0
commit f956971fdf
2 changed files with 5 additions and 5 deletions

View File

@@ -206,7 +206,7 @@ datum/controller/vote
return 0
choices.Add(config.votable_modes)
if("crew_transfer")
if check_rights(R_ADMIN) || check_rights(R_MOD)
if(check_rights(R_ADMIN) || check_rights(R_MOD))
question = "End the shift?"
choices.Add("Initiate Crew Transfer", "Continue The Round")
else

View File

@@ -64,7 +64,7 @@ var/global/datum/controller/gameticker/ticker
timerbuffer = config.vote_autotransfer_initial
else
timerbuffer = config.vote_autotransfer_interval
sleep(timerbuffer)
spawn(timerbuffer)
vote.autotransfer()
initialtpass = 1
votetimer()