mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Only attempt to initialize a machine's circuit if its actually a type path!
This commit is contained in:
@@ -123,7 +123,7 @@ Class Procs:
|
|||||||
..(l)
|
..(l)
|
||||||
if(d)
|
if(d)
|
||||||
set_dir(d)
|
set_dir(d)
|
||||||
if(circuit)
|
if(ispath(circuit))
|
||||||
circuit = new circuit(src)
|
circuit = new circuit(src)
|
||||||
|
|
||||||
/obj/machinery/Initialize()
|
/obj/machinery/Initialize()
|
||||||
|
|||||||
Reference in New Issue
Block a user