mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Merge pull request #13165 from Menshin/login_runtimes_fix
Fixes login runtimes for round start observers
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user