Rename /datum/config_entry/var/value to config_entry_value (#34699)

This works around some vv-fu you can use to pass in a config_entry to a proc that reads the value var of some other datum. Byond is stupid enough to actually read it, so it must be uniquely named.
This commit is contained in:
Jordan Brown
2018-01-24 16:40:28 -05:00
committed by CitadelStationBot
parent 9652fc4127
commit 3b0a00d53c
8 changed files with 117 additions and 117 deletions

View File

@@ -153,7 +153,7 @@
E = entries_by_type[entry_type]
if(!E)
CRASH("Missing config entry for [entry_type]!")
return E.value
return E.config_entry_value
/datum/controller/configuration/proc/Set(entry_type, new_val)
if(IsAdminAdvancedProcCall() && GLOB.LastAdminCalledProc == "Set" && GLOB.LastAdminCalledTargetRef == "[REF(src)]")