mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
Re-adds the MOTD and adds mechanical support for ports of call. (#18570)
* Re-adds the message of the day. * Re-adds the MOTD and adds mechanical support for ports of call. * sddsds * Destroy it all! * incorrect info * grammar and shit --------- Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -6,8 +6,6 @@
|
||||
|
||||
update_Login_details() //handles setting lastKnownIP and computer_id for use by the ban systems as well as checking for multikeying
|
||||
|
||||
to_chat(src, "<div class='info'>Game ID: <div class='danger'>[GLOB.round_id]</div></div>")
|
||||
|
||||
if(!mind)
|
||||
mind = new /datum/mind(key)
|
||||
mind.active = 1
|
||||
@@ -18,3 +16,13 @@
|
||||
GLOB.player_list |= src
|
||||
|
||||
client.playtitlemusic()
|
||||
addtimer(CALLBACK(src, PROC_REF(show_lobby_info)), 5 SECONDS)
|
||||
|
||||
/mob/abstract/new_player/proc/show_lobby_info()
|
||||
if(!client)
|
||||
return
|
||||
|
||||
if(GLOB.motd)
|
||||
to_chat(src, "<div class=\"motd\">[GLOB.motd]</div>")
|
||||
|
||||
to_chat(src, "<div class='info'>Game ID: </div><div class='danger'>[GLOB.round_id]</div>")
|
||||
|
||||
Reference in New Issue
Block a user