you can nolonger turn toasters into a fridge using a screwdriver (#42670)

This commit is contained in:
granpawalton
2019-02-05 18:59:19 -06:00
committed by ShizCalev
parent 2a3ee4d45a
commit a1ff7750a1
2 changed files with 5 additions and 1 deletions

View File

@@ -55,7 +55,11 @@
********************/
/obj/machinery/smartfridge/attackby(obj/item/O, mob/user, params)
if(default_deconstruction_screwdriver(user, "smartfridge_open", "smartfridge", O))
if(default_deconstruction_screwdriver(user, icon_state, icon_state, O))
cut_overlays()
if(panel_open)
add_overlay("[initial(icon_state)]-panel")
updateUsrDialog()
return
if(default_pry_open(O))

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

After

Width:  |  Height:  |  Size: 97 KiB