mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] Adds persistent smartfridges for garden products, material sheets
This commit is contained in:
@@ -8,9 +8,11 @@ SUBSYSTEM_DEF(persistence)
|
||||
/datum/controller/subsystem/persistence/Initialize()
|
||||
. = ..()
|
||||
for(var/thing in subtypesof(/datum/persistent))
|
||||
var/datum/persistent/P = new thing
|
||||
persistence_datums[thing] = P
|
||||
P.Initialize()
|
||||
var/datum/persistent/P = thing
|
||||
if(initial(P.name))
|
||||
P = new P
|
||||
persistence_datums[thing] = P
|
||||
P.Initialize()
|
||||
|
||||
/datum/controller/subsystem/persistence/Shutdown()
|
||||
for(var/thing in persistence_datums)
|
||||
|
||||
Reference in New Issue
Block a user