mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
Adds verification for reference layers to check if target config has the desired icon_state (#59884)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user