mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Accidentally made mecha untargettable by turrets
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@723 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -194,7 +194,7 @@
|
|||||||
target = null
|
target = null
|
||||||
else if (istype(target, /obj/mecha))
|
else if (istype(target, /obj/mecha))
|
||||||
var/obj/mecha/mecha = target
|
var/obj/mecha/mecha = target
|
||||||
if (istype(target.loc.loc, loc.loc))
|
if (!istype(target.loc.loc, loc.loc))
|
||||||
loc.loc:Exited(target)
|
loc.loc:Exited(target)
|
||||||
if(!mecha.occupant)
|
if(!mecha.occupant)
|
||||||
if (mecha in loc.loc:turretTargets)
|
if (mecha in loc.loc:turretTargets)
|
||||||
|
|||||||
Reference in New Issue
Block a user