Adds BZ gas to atmos filters.

This commit is contained in:
Lzimann
2016-06-02 19:48:44 -03:00
parent a7c6223b7d
commit f5dd3b8623
3 changed files with 7 additions and 5 deletions
@@ -109,7 +109,7 @@
datum/tgui/master_ui = null, datum/ui_state/state = default_state)
ui = SStgui.try_update_ui(user, src, ui_key, ui, force_open)
if(!ui)
ui = new(user, src, ui_key, "atmos_filter", name, 470, 140, master_ui, state)
ui = new(user, src, ui_key, "atmos_filter", name, 475, 140, master_ui, state)
ui.open()
/obj/machinery/atmospherics/components/trinary/filter/ui_data()
+4 -4
View File
File diff suppressed because one or more lines are too long
+2
View File
@@ -21,5 +21,7 @@
action='filter' params='{"mode": "co2"}'>CO2</ui-button>
<ui-button state='{{data.filter_type == "n2o" ? "selected" : null}}'
action='filter' params='{"mode": "n2o"}'>N2O</ui-button>
<ui-button state='{{data.filter_type == "bz" ? "selected" : null}}'
action='filter' params='{"mode": "bz"}'>BZ</ui-button>
</ui-section>
</ui-display>