mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
Optimize playsound, starlight, and visualnet generation (#13540)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//UPDATE TRIGGERS, when the chunk (and the surrounding chunks) should update.
|
||||
|
||||
/proc/updateVisibility(atom/A, var/opacity_check = TRUE)
|
||||
if(SSticker)
|
||||
if(SSticker.current_state >= GAME_STATE_PLAYING)
|
||||
for(var/datum/visualnet/VN in visual_nets)
|
||||
VN.update_visibility(A, opacity_check)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user