mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-31 12:32:28 +00:00
Miscellaneous Tweaks (#1720)
changes: Refactored footstep sounds to use less operations & only calculate for human-types. Improved the logging detail of the lighting profiler. Fixed some shuttle corners that weren't correctly working with parallax space. Converted get_turf() into a compiler macro. Solars are now dynamically lit. Silenced warning from lighting overlays pooling themselves when updated on a space tile. Fixed a bug where securing a girder was instant when it was supposed to have a delay.
This commit is contained in:
@@ -1065,13 +1065,6 @@ proc/get_mob_with_client_list()
|
||||
else if (zone == "r_foot") return "right foot"
|
||||
else return zone
|
||||
|
||||
//gets the turf the atom is located in (or itself, if it is a turf).
|
||||
//returns null if the atom is not in a turf.
|
||||
/proc/get_turf(atom/A)
|
||||
if(!istype(A)) return
|
||||
for(A, A && !isturf(A), A=A.loc);
|
||||
return A
|
||||
|
||||
/proc/get(atom/loc, type)
|
||||
while(loc)
|
||||
if(istype(loc, type))
|
||||
|
||||
Reference in New Issue
Block a user