anchor.diff:  							restart = 1
   						else
   							master_mode = .
  +				if("crew_transfer")
  +					if(. == "Initiate Crew Transfer")
  +						init_shift_change(null, 1)
  +
   
   		if(restart)
   			world << "World restarting due to vote..."
  
positive.code: 
  		return .
  
  	proc/submit_vote(var/vote)
  		if(mode)
  			if(config.vote_no_dead && usr.stat == DEAD && !usr.client.holder)
  				return 0
  			if(!(usr.ckey in voted))
  				if(vote && 1<=vote && vote<=choices.len)
  					voted += usr.ckey
  					choices[choices[vote]]++	//check this
  					return vote
  		return 0
  
  	proc/initiate_vote(var/vote_type, var/initiator_key)
  		if(!mode)
  			if(started_timeofday != null)
  				var/next_allowed_timeofday = (started_timeofday + config.vote_delay)
  				if(world.timeofday < started_timeofday)
  					next_allowed_timeofday -= 864000
  				if(next_allowed_timeofday > world.timeofday)
  					return 0
  
  			reset()
  			switch(vote_type)
  				if("restart")	choices.Add("Restart Round","Continue Playing")
  				if("gamemode")	choices.Add(config.votable_modes)
  				if("custom")
  					question = html_encode(input(usr,"What is the vote for?") as text|null)
  					if(!question)	return 0
  
negative.code: 				else			return 0
  			mode = vote_type
  			initiator = initiator_key
  			started_time = world.time
  			var/text = "[capitalize(mode)] vote started by [initiator]."
  			log_vote(text)
  			world << "<font color='purple'><b>[text]</b>\nType vote to place your votes.\nYou have [config.vote_period/10] seconds to vote.</font>"
  