mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-28 02:53:11 +00:00
Small change to code. (Was locking up game ticker.)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user