Previous round ruleset info in the check antagonists panel (#29750)

* Previous round ruleset info in the check antagonists panel

* forgot

* inital
This commit is contained in:
ShiftyRail
2021-06-12 06:38:50 +01:00
committed by GitHub
parent 6fa4d98c52
commit ead1cd98b9

View File

@@ -27,5 +27,15 @@
else
dat += "<i>No orphaned roles are currently active.</i>"
var/datum/gamemode/dynamic/dynamic_mode = ticker.mode
if (dynamic_mode?.last_round_executed_rules.len)
dat += "<h3><b>Last executed rulesets</b></h3>"
dat += "<br/>"
for (var/type in dynamic_mode.last_round_executed_rules)
var/datum/dynamic_ruleset/DR = type
dat += "- [initial(DR.name)] <br/>"
dat += "<br/>"
dat += "</body></html>"
usr << browse(dat, "window=roundstatus;size=700x500")