Adds verification for reference layers to check if target config has the desired icon_state (#59884)

This commit is contained in:
Emmett Gaines
2021-07-01 13:31:10 -07:00
committed by GitHub
parent 65de6ac785
commit 05a4afd2fd
4 changed files with 32 additions and 2 deletions
+6
View File
@@ -20,6 +20,12 @@ SUBSYSTEM_DEF(greyscale)
var/datum/greyscale_config/config = configurations[greyscale_type]
config.Refresh()
// This final verification step is for things that need other greyscale configurations to be finished loading
for(var/greyscale_type as anything in configurations)
CHECK_TICK
var/datum/greyscale_config/config = configurations[greyscale_type]
config.CrossVerify()
return ..()
/datum/controller/subsystem/greyscale/proc/RefreshConfigsFromFile()