mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
initialize() should now always be called, be it on game starting up or object being created after game start.
Partially fixes #9036.
This commit is contained in:
@@ -9,12 +9,6 @@
|
||||
var/circuit = null //The path to the circuit board type. If circuit==null, the computer can't be disassembled.
|
||||
var/processing = 0
|
||||
|
||||
/obj/machinery/computer/New()
|
||||
..()
|
||||
if(ticker)
|
||||
initialize()
|
||||
|
||||
|
||||
/obj/machinery/computer/initialize()
|
||||
power_change()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user