diff --git a/code/modules/atmospherics/components/unary/heat_source.dm b/code/modules/atmospherics/components/unary/heat_source.dm index 864117ff717..a1096e5fb9a 100644 --- a/code/modules/atmospherics/components/unary/heat_source.dm +++ b/code/modules/atmospherics/components/unary/heat_source.dm @@ -94,13 +94,13 @@ /obj/machinery/atmospherics/unary/heater/attack_hand(mob/user as mob) ui_interact(user) -/obj/machinery/atmospherics/unary/freezer/ui_interact(mob/user, var/datum/tgui/ui) +/obj/machinery/atmospherics/unary/heater/ui_interact(mob/user, var/datum/tgui/ui) ui = SStgui.try_update_ui(user, src, ui) if(!ui) ui = new(user, src, "Freezer", "Gas Heating System", 440, 300) ui.open() -/obj/machinery/atmospherics/unary/freezer/ui_data(mob/user) +/obj/machinery/atmospherics/unary/heater/ui_data(mob/user) var/list/data = list() data["on"] = !!use_power @@ -118,7 +118,7 @@ return data -/obj/machinery/atmospherics/unary/freezer/ui_act(action, list/params, datum/tgui/ui, datum/ui_state/state) +/obj/machinery/atmospherics/unary/heater/ui_act(action, list/params, datum/tgui/ui, datum/ui_state/state) . = ..() if(.) return TRUE diff --git a/html/changelogs/doxxmedearly-heater_ui_fix.yml b/html/changelogs/doxxmedearly-heater_ui_fix.yml new file mode 100644 index 00000000000..980fd87313f --- /dev/null +++ b/html/changelogs/doxxmedearly-heater_ui_fix.yml @@ -0,0 +1,5 @@ +author: Doxxmedearly +delete-after: True +changes: + - bugfix: "Gas heater UI now functions." + - bugfix: "Gas coolers no longer come up as 'gas heating system' in their UI."