mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-12 08:43:26 +01:00
adds #1335 to this PR
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