mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
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:
@@ -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
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user