mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Adds a cache to radiation waves (#30261)
This commit is contained in:
@@ -33,6 +33,8 @@ PROCESSING_SUBSYSTEM_DEF(radiation)
|
||||
if(world.time > last_rad_cache_update + rad_cache_update_interval)
|
||||
refresh_rad_cache()
|
||||
last_rad_cache_update = world.time
|
||||
for(var/emission_type in GLOB.turf_rad_item_cache)
|
||||
GLOB.turf_rad_item_cache["[emission_type]"] = list()
|
||||
. = ..()
|
||||
|
||||
/datum/controller/subsystem/processing/radiation/proc/get_turf_radiation(turf/place)
|
||||
|
||||
Reference in New Issue
Block a user