mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +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)
|
if(bellies)
|
||||||
release_vore_contents(silent = TRUE)
|
release_vore_contents(silent = TRUE)
|
||||||
vore_organs.Cut()
|
QDEL_LIST(vore_organs)
|
||||||
|
bellies_loaded = FALSE //CHOMPedit
|
||||||
for(var/entry in P.belly_prefs)
|
for(var/entry in P.belly_prefs)
|
||||||
list_to_object(entry,src)
|
list_to_object(entry,src)
|
||||||
if(!full_vorgans) //CHOMPedit: full_vorgans var to bypass 1-belly load optimization.
|
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.
|
break //CHOMPedit: Belly load optimization. Only load first belly, save the rest for vorepanel.
|
||||||
|
bellies_loaded = TRUE //CHOMPedit
|
||||||
|
|
||||||
return TRUE
|
return TRUE
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
//CHOMPedit: On-demand belly loading.
|
//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)
|
/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
|
voremob_loaded = TRUE
|
||||||
init_vore()
|
init_vore()
|
||||||
belly = vore_selected
|
belly = vore_selected
|
||||||
|
|||||||
Reference in New Issue
Block a user