diff --git a/code/game/machinery/autolathe.dm b/code/game/machinery/autolathe.dm index 8e34f6bf496..b149d3280e6 100644 --- a/code/game/machinery/autolathe.dm +++ b/code/game/machinery/autolathe.dm @@ -186,7 +186,7 @@ var/global/list/autolathe_recipes_hidden = list( \ if (src.shocked) src.shock(user,50) - if (src.opened) + if (src.panel_open) wires_win(user,50) return