painter fix

This commit is contained in:
SteelSlayer
2020-07-14 11:23:28 -05:00
parent 7ee39d83a8
commit e08cceb096
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -513,6 +513,10 @@ About the new airlock wires panel:
to_chat(user, "<span class='warning'>You need to select a paintjob first.</span>")
return
if(!paintable)
to_chat(user, "<span class='warning'>This type of airlock cannot be painted.</span>")
return
var/obj/machinery/door/airlock/airlock = painter.available_paint_jobs["[painter.paint_setting]"] // get the airlock type path associated with the airlock name the user just chose
var/obj/structure/door_assembly/assembly = initial(airlock.assemblytype)
@@ -592,6 +592,7 @@
overlays_file = 'icons/obj/doors/airlocks/glass_large/overlays.dmi'
note_overlay_file = 'icons/obj/doors/airlocks/glass_large/overlays.dmi'
assemblytype = /obj/structure/door_assembly/multi_tile
paintable = FALSE
/obj/machinery/door/airlock/multi_tile/narsie_act()
return