mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-27 22:16:23 +01:00
Merge pull request #1376 from VOREStation/actually-fix-holocarp
Actually make holocarp not delete you when derezzing.
This commit is contained in:
@@ -29,6 +29,13 @@
|
||||
if(vore_active)
|
||||
init_belly()
|
||||
|
||||
// Release belly contents beforey being gc'd!
|
||||
/mob/living/simple_animal/Destroy()
|
||||
for(var/I in vore_organs)
|
||||
var/datum/belly/B = vore_organs[I]
|
||||
B.release_all_contents() // When your stomach is empty
|
||||
..()
|
||||
|
||||
// Update fullness based on size & quantity of belly contents
|
||||
/mob/living/simple_animal/proc/update_fullness()
|
||||
var/new_fullness = 0
|
||||
|
||||
Reference in New Issue
Block a user