mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
fixes grav & vortex anomalies throwing their own core at people (#17292)
This commit is contained in:
@@ -112,7 +112,7 @@
|
||||
if(!M.mob_negates_gravity())
|
||||
step_towards(M,src)
|
||||
for(var/obj/O in range(0, src))
|
||||
if(!O.anchored)
|
||||
if(!O.anchored && O.loc != src) // so it cannot throw the anomaly core
|
||||
var/mob/living/target = locate() in view(4, src)
|
||||
if(target && !target.stat)
|
||||
O.throw_at(target, 5, 10)
|
||||
@@ -311,8 +311,8 @@
|
||||
|
||||
//Throwing stuff around!
|
||||
for(var/obj/O in range(2, src))
|
||||
if(O == src)
|
||||
return //DON'T DELETE YOURSELF GOD DAMN
|
||||
if(O == src || O.loc == src)
|
||||
return //DON'T DELETE YOURSELF OR YOUR CORE GOD DAMN
|
||||
if(!O.anchored)
|
||||
var/mob/living/target = locate() in view(4, src)
|
||||
if(target && !target.stat)
|
||||
|
||||
Reference in New Issue
Block a user