From 5fd90cf29b3341503088496c34fb8df35d430be9 Mon Sep 17 00:00:00 2001 From: Aronai Sieyes Date: Sat, 3 Jul 2021 17:20:48 -0400 Subject: [PATCH] Merge pull request #10844 from VOREStation/Arokha/fixfix Fix light fixture free lights --- code/game/machinery/machinery.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/machinery/machinery.dm b/code/game/machinery/machinery.dm index 4ecc95b7c3..aed6cc368e 100644 --- a/code/game/machinery/machinery.dm +++ b/code/game/machinery/machinery.dm @@ -122,8 +122,8 @@ Class Procs: blocks_emissive = EMISSIVE_BLOCK_GENERIC /obj/machinery/New(l, d=0) - ..(l) - if(d) + ..() + if(isnum(d)) set_dir(d) if(ispath(circuit)) circuit = new circuit(src)