Adds game mode panel to check antagonists window. (#47313)

About The Pull Request

Title. Also increased size of the game panel window slightly to avoid scrolling.
Why It's Good For The Game
Changelog

cl Skoglol
admin: Dynamic game mode panel can now be accessed from the Check Antagonists window.
/cl
This commit is contained in:
skoglol
2019-10-26 10:02:05 +02:00
committed by oranges
parent 53031d2abe
commit ffc50cd259
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -437,7 +437,7 @@
if(marked_datum && istype(marked_datum, /atom))
dat += "<A href='?src=[REF(src)];[HrefToken()];dupe_marked_datum=1'>Duplicate Marked Datum</A><br>"
usr << browse(dat, "window=admin2;size=210x200")
usr << browse(dat, "window=admin2;size=240x280")
return
/////////////////////////////////////////////////////////////////////////////////////////////////admins2.dm merge
+3 -1
View File
@@ -142,6 +142,8 @@
dat += "Replacement Game Mode: <B>[SSticker.mode.replacementmode.name]</B><BR>"
else
dat += "Current Game Mode: <B>[SSticker.mode.name]</B><BR>"
if(istype(SSticker.mode, /datum/game_mode/dynamic)) // Currently only used by dynamic. If more start using this, find a better way.
dat += "<a href='?_src_=holder;[HrefToken()];gamemode_panel=1'>Gamemode Panel</a><br>"
dat += "Round Duration: <B>[DisplayTimeText(world.time - SSticker.round_start_time)]</B><BR>"
dat += "<B>Emergency shuttle</B><BR>"
if(EMERGENCY_IDLE_OR_RECALLED)
@@ -215,4 +217,4 @@
dat += build_antag_listing()
dat += "</body></html>"
usr << browse(dat.Join(), "window=roundstatus;size=500x500")
usr << browse(dat.Join(), "window=roundstatus;size=500x500")