Skip to content

Commit

Permalink
[MIRROR] Add nice outlet injector map icon
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhEugene committed Oct 27, 2023
1 parent 14efbd2 commit 6f216ed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions code/modules/atmospherics/components/unary/outlet_injector.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

/obj/machinery/atmospherics/unary/outlet_injector
icon = 'icons/atmos/injector.dmi'
icon_state = "off"
icon_state = "map_injector"

name = "injector"
desc = "Passively injects air into its surroundings. Has a valve attached to it that can control flow rate."
Expand Down Expand Up @@ -34,10 +34,9 @@
//Give it a small reservoir for injecting. Also allows it to have a higher flow rate limit than vent pumps, to differentiate injectors a bit more.
air_contents.volume = ATMOS_DEFAULT_VOLUME_PUMP + 500

/obj/machinery/atmospherics/unary/outlet_injector/Initialize()
. = ..()
set_frequency(frequency)
broadcast_status()
update_icon()

/obj/machinery/atmospherics/unary/outlet_injector/Destroy()
unregister_radio(src, frequency)
Expand Down

0 comments on commit 6f216ed

Please sign in to comment.