Few bugfixes for Shadow Demon (#25671)

* Few bugfixes for Shadow Demon

* Update shadow_demon.dm

* Update code/game/gamemodes/miniantags/demons/shadow_demon/shadow_demon.dm

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Signed-off-by: Сиротка <114731039+ErdGinalD@users.noreply.github.com>

* Update code/game/objects/structures/crates_lockers/closets.dm

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Signed-off-by: Сиротка <114731039+ErdGinalD@users.noreply.github.com>

---------

Signed-off-by: Сиротка <114731039+ErdGinalD@users.noreply.github.com>
Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
Сиротка
2024-06-06 23:30:49 +03:00
committed by GitHub
parent 3c05597cfa
commit ab85721b44
3 changed files with 9 additions and 0 deletions
@@ -344,6 +344,10 @@ Pipelines + Other Objects -> Pipe network
/obj/machinery/atmospherics/proc/can_crawl_through()
return TRUE
/obj/machinery/atmospherics/extinguish_light(force)
set_light(0)
update_icon(UPDATE_OVERLAYS)
/obj/machinery/atmospherics/proc/change_color(new_color)
//only pass valid pipe colors please ~otherwise your pipe will turn invisible
if(!pipe_color_check(new_color))