Merge pull request #13165 from Menshin/login_runtimes_fix

Fixes login runtimes for round start observers
This commit is contained in:
Remie Richards
2015-11-27 20:14:49 +00:00
2 changed files with 11 additions and 5 deletions

View File

@@ -1694,6 +1694,12 @@
mind_initialize() //updates the mind (or creates and initializes one if one doesn't exist)
mind.active = 1 //indicates that the mind is currently synced with a client
/mob/new_player/sync_mind()
return
/mob/dead/observer/sync_mind()
return
//Initialisation procs
/mob/proc/mind_initialize()
if(mind)

View File

@@ -1,4 +1,9 @@
/mob/new_player/Login()
if(!mind)
mind = new /datum/mind(key)
mind.active = 1
mind.current = src
..()
if(join_motd)
@@ -10,11 +15,6 @@
if(config.soft_popcap && living_player_count() >= config.soft_popcap)
src << "<span class='notice'><b>Server Notice:</b>\n \t [config.soft_popcap_message]</span>"
if(!mind)
mind = new /datum/mind(key)
mind.active = 1
mind.current = src
if(length(newplayer_start))
loc = pick(newplayer_start)
else