Allows people to be transferred. You can be ejected out of the new belly, but can't be ejected from the default one.

This commit is contained in:
LetterJay
2016-12-20 18:59:00 -06:00
parent c922b79c7b
commit 629e5081a8
+3 -2
View File
@@ -104,7 +104,8 @@
// Release all contents of this belly into the owning mob's location.
// If that location is another mob, contents are transferred into whichever of its bellies the owning mob is in.
// Returns the number of mobs so released.
/datum/belly/proc/release_all_contents()
/datum/belly/proc/release_all_contents(mob/owner)
check_belly(owner)
for (var/atom/movable/M in internal_contents)
M.forceMove(owner.loc) // Move the belly contents into the same location as belly's owner.
internal_contents -= M // Remove from the belly contents
@@ -142,7 +143,7 @@
// prey.buckled.unbuckle_mob()
// Super super messy. prey.forceMove.owner doesn't work if there's no prey.
prey.loc = owner
prey.loc = user
internal_contents |= prey
if(inside_flavor)