fixes players being deleted outright. still issues with ejecting, though.
This commit is contained in:
@@ -104,8 +104,7 @@
|
|||||||
// Release all contents of this belly into the owning mob's location.
|
// 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.
|
// 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.
|
// Returns the number of mobs so released.
|
||||||
/datum/belly/proc/release_all_contents(mob/owner)
|
/datum/belly/proc/release_all_contents()
|
||||||
check_belly(owner)
|
|
||||||
for (var/atom/movable/M in internal_contents)
|
for (var/atom/movable/M in internal_contents)
|
||||||
M.forceMove(owner.loc) // Move the belly contents into the same location as belly's owner.
|
M.forceMove(owner.loc) // Move the belly contents into the same location as belly's owner.
|
||||||
internal_contents -= M // Remove from the belly contents
|
internal_contents -= M // Remove from the belly contents
|
||||||
|
|||||||
Reference in New Issue
Block a user