Revert "Updates auxmos to 2.0.0"

This commit is contained in:
silicons
2022-09-28 01:05:10 -07:00
committed by GitHub
parent 54f61ba124
commit 93e8a69c4c
13 changed files with 65 additions and 38 deletions
+5 -2
View File
@@ -15,7 +15,7 @@ GLOBAL_LIST_INIT(blacklisted_automated_baseturfs, typecacheof(list(
if(turf_type)
var/turf/newT = ChangeTurf(turf_type, baseturf_type, flags)
newT.ImmediateCalculateAdjacentTurfs()
CALCULATE_ADJACENT_TURFS(newT)
/turf/proc/copyTurf(turf/T)
if(T.type != type)
@@ -285,7 +285,10 @@ GLOBAL_LIST_INIT(blacklisted_automated_baseturfs, typecacheof(list(
//If you modify this function, ensure it works correctly with lateloaded map templates.
/turf/proc/AfterChange(flags) //called after a turf has been replaced in ChangeTurf()
levelupdate()
ImmediateCalculateAdjacentTurfs()
if(flags & CHANGETURF_RECALC_ADJACENT)
ImmediateCalculateAdjacentTurfs()
else
CALCULATE_ADJACENT_TURFS(src)
//update firedoor adjacency
var/list/turfs_to_check = get_adjacent_open_turfs(src) | src
+2 -2
View File
@@ -75,7 +75,7 @@ GLOBAL_LIST_EMPTY(station_turfs)
add_overlay(/obj/effect/fullbright)
if(requires_activation)
ImmediateCalculateAdjacentTurfs()
CALCULATE_ADJACENT_TURFS(src)
if (light_power && light_range)
update_light()
@@ -111,7 +111,7 @@ GLOBAL_LIST_EMPTY(station_turfs)
/turf/proc/set_temperature()
/turf/proc/Initalize_Atmos(times_fired)
ImmediateCalculateAdjacentTurfs()
CALCULATE_ADJACENT_TURFS(src)
/turf/Destroy(force)
. = QDEL_HINT_IWILLGC