mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Merge pull request #14497 from Seris02/capcrystalunleashfix
cap crystal ooc escape fix
This commit is contained in:
committed by
CHOMPStation2
parent
0905d37574
commit
b34a6da9bd
@@ -452,7 +452,9 @@
|
||||
//Let's let our mob out!
|
||||
/obj/item/capture_crystal/proc/unleash(mob/living/user, atom/target)
|
||||
if(!user && !target) //We got thrown but we're not sure who did it, let's go to where the crystal is
|
||||
bound_mob.forceMove(src.drop_location())
|
||||
var/drop_loc = get_turf(src)
|
||||
if (drop_loc)
|
||||
bound_mob.forceMove(drop_loc)
|
||||
return
|
||||
if(!target) //We know who wants to let us out, but they didn't say where, so let's drop us on them
|
||||
bound_mob.forceMove(user.drop_location())
|
||||
|
||||
Reference in New Issue
Block a user