Made it real time, added to config
This commit is contained in:
@@ -268,7 +268,7 @@ SUBSYSTEM_DEF(persistence)
|
||||
GLOB.bunker_passthrough = json_decode(file2text(bunker_path))
|
||||
var/round_id = GLOB.round_id
|
||||
for(var/ckey in GLOB.bunker_passthrough)
|
||||
if(round_id - GLOB.bunker_passthrough[ckey] > 100)
|
||||
if(daysSince(GLOB.bunker_passthrough[ckey]) >= CONFIG_GET(number/max_bunker_days))
|
||||
GLOB.bunker_passthrough -= ckey
|
||||
|
||||
/datum/controller/subsystem/persistence/proc/GetPhotoAlbums()
|
||||
|
||||
Reference in New Issue
Block a user