Merge pull request #35680 from MoreRobustThanYou/patch-60
Fixes SCP-294 losing its top sometimes
This commit is contained in:
committed by
CitadelStationBot
parent
1cda9ef2b4
commit
002f0c41dc
@@ -24,6 +24,11 @@
|
||||
. = ..()
|
||||
GLOB.poi_list += src
|
||||
top_overlay = mutable_appearance(icon, "294_top", layer = ABOVE_MOB_LAYER)
|
||||
update_icon()
|
||||
|
||||
|
||||
/obj/machinery/chem_dispenser/scp_294/update_icon()
|
||||
cut_overlays()
|
||||
add_overlay(top_overlay)
|
||||
|
||||
/obj/machinery/chem_dispenser/scp_294/Destroy()
|
||||
@@ -81,4 +86,4 @@
|
||||
for(var/X in GLOB.chemical_reagents_list)
|
||||
var/datum/reagent/R = GLOB.chemical_reagents_list[X]
|
||||
if(R.can_synth && input == replacetext(lowertext(R.name), " ", ""))
|
||||
return X
|
||||
return X
|
||||
|
||||
Reference in New Issue
Block a user