Greyscale sombrero and shamebrero (#5496)

Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com>
This commit is contained in:
SkyratBot
2021-05-06 15:08:09 +01:00
committed by GitHub
co-authored by Emmett Gaines
parent 966ed6fb98
commit b5dc716b24
15 changed files with 217 additions and 6 deletions
+6
View File
@@ -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()