Tweak to Radiation Optimization

* Optimized garbage collection of radiation sources until we get qdel() hints.
* Made the RADIATION_LOWER_LIMIT configurable (option for people to save some cpu time)
* Added some comments and broke the proccessor into separate procs for profiling purposes
* Added a changelog.
This commit is contained in:
Leshana
2017-05-30 12:45:21 -04:00
parent 34c73dab69
commit 2c8df87899
5 changed files with 30 additions and 5 deletions

View File

@@ -720,6 +720,9 @@ var/list/gamemode_cache = list()
if(values.len > 0)
language_prefixes = values
if("radiation_lower_limit")
radiation_lower_limit = text2num(value)
else
log_misc("Unknown setting in configuration: '[name]'")