Merge pull request #32017 from ACCount12/patch-1

Fixes a SET_CONFIG bug
This commit is contained in:
Jordan Brown
2017-10-23 00:38:20 -04:00
committed by CitadelStationBot
parent 5bce9bc2b0
commit 5c0e88722e
@@ -147,7 +147,7 @@ GLOBAL_PROTECT(config_dir)
E = entries_by_type[entry_type]
if(!E)
CRASH("Missing config entry for [entry_type]!")
return E.ValidateAndSet(new_val)
return E.ValidateAndSet("[new_val]")
/datum/controller/configuration/proc/LoadModes()
gamemode_cache = typecacheof(/datum/game_mode, TRUE)