mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 04:51:32 +01:00
Empulse fix (#4762)
In my recent PR #4752 while merging my new functional empulse_exclusive into empulse I have accidentally deleted important check. This adds it back!
This commit is contained in:
committed by
Erki
parent
8f1830e5d3
commit
fb2e05e4fd
@@ -22,6 +22,9 @@ proc/empulse(turf/epicenter, heavy_range, light_range, log = FALSE, list/exclude
|
||||
pulse.anchored = 1
|
||||
QDEL_IN(pulse, 20)
|
||||
|
||||
if(heavy_range > light_range)
|
||||
light_range = heavy_range
|
||||
|
||||
for(var/mob/M in range(heavy_range, epicenter))
|
||||
M << 'sound/effects/EMPulse.ogg'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user