Actually fixes the locker escaping.

This commit is contained in:
AnturK
2017-12-28 14:47:27 +01:00
parent 9976f33067
commit acd01e7c91
@@ -404,7 +404,7 @@ mob/living/simple_animal/hostile/proc/DestroySurroundings() // for use with mega
if(buckled)
buckled.attack_animal(src)
if(!isturf(targets_from.loc) && targets_from.loc != null)//Did someone put us in something?
var/atom/A = get_turf(targets_from)
var/atom/A = targets_from.loc
A.attack_animal(src)//Bang on it till we get out