From 628ae84c15b0a0cf6f4abe4b36bfe6288b2b003b Mon Sep 17 00:00:00 2001
From: Sebbe9123 <31856346+Sebbe9123@users.noreply.github.com>
Date: Mon, 25 Feb 2019 11:58:14 +0100
Subject: [PATCH] Changes eggtype to not mess with simple_mobs
---
code/modules/vore/eating/transforming_vr.dm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/code/modules/vore/eating/transforming_vr.dm b/code/modules/vore/eating/transforming_vr.dm
index b978bf8963c..a3ad00ab7a8 100644
--- a/code/modules/vore/eating/transforming_vr.dm
+++ b/code/modules/vore/eating/transforming_vr.dm
@@ -252,13 +252,13 @@
var/egg_path = /obj/structure/closet/secure_closet/egg
var/egg_name = "odd egg"
- if(O.egg_type in tf_egg_types)
- egg_path = tf_egg_types[O.egg_type]
- egg_name = "[O.egg_type] egg"
+ if(O.vore_egg_type in tf_vore_egg_types)
+ egg_path = tf_vore_egg_types[O.vore_egg_type]
+ egg_name = "[O.vore_egg_type] egg"
var/obj/structure/closet/secure_closet/egg/egg = new egg_path(src)
M.forceMove(egg)
egg.name = egg_name
if(message)
to_chat(M, "You lose sensation of your body, feeling only the warmth around you as you're encased in an egg.")
- to_chat(O, "Your body shifts as you encase [M] in an egg.")
\ No newline at end of file
+ to_chat(O, "Your body shifts as you encase [M] in an egg.")