mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-12 02:43:49 +00:00
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:
committed by
CitadelStationBot
parent
9652fc4127
commit
3b0a00d53c
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user