mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Merge pull request #2807 from Verkister/patch-27
Fixes a couple vorgan duping causes
This commit is contained in:
@@ -281,11 +281,13 @@
|
||||
|
||||
if(bellies)
|
||||
release_vore_contents(silent = TRUE)
|
||||
vore_organs.Cut()
|
||||
QDEL_LIST(vore_organs)
|
||||
bellies_loaded = FALSE //CHOMPedit
|
||||
for(var/entry in P.belly_prefs)
|
||||
list_to_object(entry,src)
|
||||
if(!full_vorgans) //CHOMPedit: full_vorgans var to bypass 1-belly load optimization.
|
||||
break //CHOMPedit: Belly load optimization. Only load first belly, save the rest for vorepanel.
|
||||
bellies_loaded = TRUE //CHOMPedit
|
||||
|
||||
return TRUE
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
//CHOMPedit: On-demand belly loading.
|
||||
/mob/living/simple_mob/perform_the_nom(mob/living/user, mob/living/prey, mob/living/pred, obj/belly/belly, delay)
|
||||
if(vore_active && !voremob_loaded)
|
||||
if(vore_active && !voremob_loaded && pred == src) //Only init your own bellies.
|
||||
voremob_loaded = TRUE
|
||||
init_vore()
|
||||
belly = vore_selected
|
||||
|
||||
Reference in New Issue
Block a user