mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 20:17:15 +01:00
Fixes area soundproofing
Fixes possible massive runtime spam spike during new round inits before mapload.
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
return
|
||||
|
||||
var/turf/turf_source = get_turf(source)
|
||||
if(!turf_source)
|
||||
return
|
||||
var/area/area_source = turf_source.loc
|
||||
|
||||
//allocate a channel if necessary now so its the same for everyone
|
||||
@@ -20,6 +22,8 @@
|
||||
if(!M || !M.client)
|
||||
continue
|
||||
var/turf/T = get_turf(M)
|
||||
if(!T)
|
||||
continue
|
||||
var/area/A = T.loc
|
||||
if((A.soundproofed || area_source.soundproofed) && (A != area_source))
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user