Skip to content

Commit

Permalink
monkestation specific fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gboster-0 committed Mar 29, 2024
1 parent 8dee829 commit b8e92d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/modules/power/thermoelectric_generator.dm
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

var/level = min(round(lastgenlev / 100000), 11)
if(level)
. += mutable_appearance('icons/obj/machines/engine/other.dmi', "[base_icon_state]-op[level]")
. += mutable_appearance('icons/obj/power.dmi', "[base_icon_state]-op[level]")
if(hot_circ && cold_circ)
. += "[base_icon_state]-oc[last_pressure_overlay]"

Expand Down
4 changes: 2 additions & 2 deletions tgui/packages/tgui/interfaces/ThermoElectricGenerator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ type CirculatorData = {
pressure_outlet: number | null;
};

export const ThermoElectricGenerator = (props) => {
const { act, data } = useBackend<Data>();
export const ThermoElectricGenerator = (props, context) => {
const { act, data } = useBackend<Data>(context);
const {
error_message,
last_power_output,
Expand Down

0 comments on commit b8e92d3

Please sign in to comment.