Transformation Deduplication (#19034)

* transformation deduplication

deduplicates a bunch of tf verbs

* whoops

* double whoops

* small fix

* more deduplication

* fair point

* whoops

* some more deduplication
This commit is contained in:
MeepleMuncher
2026-01-17 09:39:57 -08:00
committed by GitHub
parent 2a6ecb04c8
commit d81dc2a075
8 changed files with 50 additions and 373 deletions
+1 -6
View File
@@ -861,12 +861,7 @@
M.tf_mob_holder.forceMove(M.loc)
QDEL_LIST_NULL(M.tf_mob_holder.vore_organs)
M.tf_mob_holder.vore_organs = list()
for(var/obj/belly/B as anything in M.vore_organs)
B.loc = M.tf_mob_holder
B.forceMove(M.tf_mob_holder)
B.owner = M.tf_mob_holder
M.tf_mob_holder.vore_organs |= B
M.vore_organs -= B
M.tf_mob_holder.mob_belly_transfer(M)
if(M.tf_mob_holder)
M.tf_mob_holder = null