diff --git a/code/ATMOSPHERICS/components/omni_devices/filter.dm b/code/ATMOSPHERICS/components/omni_devices/filter.dm index 1b51693389..8990ba011f 100644 --- a/code/ATMOSPHERICS/components/omni_devices/filter.dm +++ b/code/ATMOSPHERICS/components/omni_devices/filter.dm @@ -131,8 +131,8 @@ if(portData.len) data["ports"] = portData if(output) - data["set_flow_rate"] = round(set_flow_rate*10) //because nanoui can't handle rounded decimals. - data["last_flow_rate"] = round(last_flow_rate*10) + data["set_flow_rate"] = round(set_flow_rate) + data["last_flow_rate"] = round(last_flow_rate) return data @@ -154,7 +154,7 @@ /obj/machinery/atmospherics/omni/atmos_filter/tgui_act(action, params) if(..()) return TRUE - + switch(action) if("power") if(!configuring) @@ -266,4 +266,4 @@ else initialize_directions |= P.dir P.connect() - P.update = 1 \ No newline at end of file + P.update = 1 diff --git a/code/ATMOSPHERICS/components/omni_devices/mixer.dm b/code/ATMOSPHERICS/components/omni_devices/mixer.dm index 3487482be3..fa627ddc64 100644 --- a/code/ATMOSPHERICS/components/omni_devices/mixer.dm +++ b/code/ATMOSPHERICS/components/omni_devices/mixer.dm @@ -158,8 +158,8 @@ if(portData.len) data["ports"] = portData if(output) - data["set_flow_rate"] = round(set_flow_rate*10) //because nanoui can't handle rounded decimals. - data["last_flow_rate"] = round(last_flow_rate*10) + data["set_flow_rate"] = round(set_flow_rate) + data["last_flow_rate"] = round(last_flow_rate) return data @@ -294,4 +294,4 @@ /obj/machinery/atmospherics/omni/mixer/proc/con_lock(var/port = NORTH) for(var/datum/omni_port/P in inputs) if(P.dir == port) - P.con_lock = !P.con_lock \ No newline at end of file + P.con_lock = !P.con_lock diff --git a/tgui/packages/tgui/interfaces/OmniFilter.tsx b/tgui/packages/tgui/interfaces/OmniFilter.tsx index c33bd8368e..b90d5b700c 100644 --- a/tgui/packages/tgui/interfaces/OmniFilter.tsx +++ b/tgui/packages/tgui/interfaces/OmniFilter.tsx @@ -111,11 +111,11 @@ export const OmniFilter = (props) => { {config ? (