mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Greyscale sombrero and shamebrero (#5496)
Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com>
This commit is contained in:
co-authored by
Emmett Gaines
parent
966ed6fb98
commit
b5dc716b24
@@ -14,6 +14,12 @@ SUBSYSTEM_DEF(greyscale)
|
||||
var/datum/greyscale_config/config = new greyscale_type()
|
||||
configurations["[greyscale_type]"] = config
|
||||
|
||||
// We do this after all the types have been loaded into the listing so reference layers don't care about init order
|
||||
for(var/greyscale_type in configurations)
|
||||
CHECK_TICK
|
||||
var/datum/greyscale_config/config = configurations[greyscale_type]
|
||||
config.Refresh()
|
||||
|
||||
return ..()
|
||||
|
||||
/datum/controller/subsystem/greyscale/proc/RefreshConfigsFromFile()
|
||||
|
||||
Reference in New Issue
Block a user