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:
Matt Atlas
2024-03-07 00:06:45 +01:00
committed by GitHub
parent 4cacb6d066
commit c59b7fa6d4
15 changed files with 120 additions and 72 deletions
-13
View File
@@ -236,19 +236,6 @@ var/list/localhost_addresses = list(
if ("webint")
src.open_webint()
// Handle the updating of MotD and Memo tabs upon click.
if ("updateHashes")
var/save = 0
if (href_list["#motd-tab"])
src.prefs.motd_hash = href_list["#motd-tab"]
save = 1
if (href_list["#memo-tab"])
src.prefs.memo_hash = href_list["#memo-tab"]
save = 1
if (save)
src.prefs.save_preferences()
return
if (href_list["view_jobban"])