mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 12:08:28 +01:00
Subsystem return update (#16820)
This commit is contained in:
@@ -11,12 +11,12 @@ SUBSYSTEM_DEF(persistence)
|
||||
var/list/unpicked_paintings = list()
|
||||
|
||||
/datum/controller/subsystem/persistence/Initialize()
|
||||
. = ..()
|
||||
for(var/datum/persistent/P as anything in subtypesof(/datum/persistent))
|
||||
if(initial(P.name))
|
||||
P = new P
|
||||
persistence_datums[P.type] = P
|
||||
P.Initialize()
|
||||
return SS_INIT_SUCCESS
|
||||
|
||||
/datum/controller/subsystem/persistence/Shutdown()
|
||||
for(var/thing in persistence_datums)
|
||||
|
||||
Reference in New Issue
Block a user