mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Fixes beepsky stunning people in mechs and other structures
This commit is contained in:
@@ -271,6 +271,8 @@ Auto Patrol: []"},
|
||||
walk_to(src,0)
|
||||
|
||||
if (target) // make sure target exists
|
||||
if(!istype(target.loc, /turf))
|
||||
return
|
||||
if (get_dist(src, src.target) <= 1) // if right next to perp
|
||||
playsound(src.loc, 'sound/weapons/Egloves.ogg', 50, 1, -1)
|
||||
src.icon_state = "[lasercolor]ed209-c"
|
||||
|
||||
@@ -219,6 +219,8 @@ Auto Patrol: []"},
|
||||
walk_to(src,0)
|
||||
|
||||
if(target) // make sure target exists
|
||||
if(!istype(target.loc, /turf))
|
||||
return
|
||||
if(get_dist(src, src.target) <= 1) // if right next to perp
|
||||
if(istype(src.target,/mob/living/carbon))
|
||||
playsound(src.loc, 'sound/weapons/Egloves.ogg', 50, 1, -1)
|
||||
|
||||
Reference in New Issue
Block a user