Merge pull request #4125 from Citadel-Station-13/upstream-merge-33005

[MIRROR] Maybe fixes meson hearing exploit
This commit is contained in:
deathride58
2017-11-26 02:14:02 +00:00
committed by GitHub
+2 -1
View File
@@ -225,7 +225,8 @@
else // A variation of get_hear inlined here to take advantage of the compiler's fastpath for obj/mob in view
var/lum = T.luminosity
T.luminosity = 6 // This is the maximum luminosity
processing_list = viewers(R, T)
for(var/mob/M in view(R, T))
processing_list += M
for(var/obj/O in view(R, T))
processing_list += O
T.luminosity = lum