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

@@ -60,11 +60,11 @@ GLOBAL_VAR_INIT(total_runtimes_skipped, 0)
configured_error_silence_time = CONFIG_GET(number/error_silence_time)
else
var/datum/config_entry/CE = /datum/config_entry/number/error_cooldown
configured_error_cooldown = initial(CE.value)
configured_error_cooldown = initial(CE.config_entry_value)
CE = /datum/config_entry/number/error_limit
configured_error_limit = initial(CE.value)
configured_error_limit = initial(CE.config_entry_value)
CE = /datum/config_entry/number/error_silence_time
configured_error_silence_time = initial(CE.value)
configured_error_silence_time = initial(CE.config_entry_value)
//Each occurence of a unique error adds to its cooldown time...

View File

@@ -122,7 +122,7 @@ GLOBAL_DATUM(error_cache, /datum/error_viewer/error_cache)
err_msg_delay = CONFIG_GET(number/error_msg_delay)
else
var/datum/config_entry/CE = /datum/config_entry/number/error_msg_delay
err_msg_delay = initial(CE.value)
err_msg_delay = initial(CE.config_entry_value)
error_source.next_message_at = world.time + err_msg_delay
/datum/error_viewer/error_source