Merge pull request #12671 from Sonic121x/patch-2

Fix Pilltype button (for real this time).also fix technode icon missing.
This commit is contained in:
Ghom
2020-07-03 00:26:28 +02:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -32,7 +32,7 @@
for (var/x in 1 to PILL_STYLE_COUNT)
var/list/SL = list()
SL["id"] = x
SL["htmltag"] = assets.icon_class_name("pill[x]")
SL["className"] = assets.icon_class_name("pill[x]")
pillStyles += list(SL)
. = ..()

View File

@@ -219,6 +219,8 @@ Nothing else in the console has ID requirements.
/obj/machinery/computer/rdconsole/proc/ui_header()
var/list/l = list()
var/datum/asset/spritesheet/sheet = get_asset_datum(/datum/asset/spritesheet/research_designs)
l += "[sheet.css_tag()][RDSCREEN_NOBREAK]"
l += "<div class='statusDisplay'><b>[stored_research.organization] Research and Development Network</b>"
l += "Available points: <BR>[techweb_point_display_rdconsole(stored_research.research_points, stored_research.last_bitcoins)]"
l += "Security protocols: [obj_flags & EMAGGED ? "<font color='red'>Disabled</font>" : "<font color='green'>Enabled</font>"]"