mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +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)
|
||||
if(d)
|
||||
set_dir(d)
|
||||
if(circuit)
|
||||
if(ispath(circuit))
|
||||
circuit = new circuit(src)
|
||||
|
||||
/obj/machinery/Initialize()
|
||||
|
||||
Reference in New Issue
Block a user