Merge pull request #11109 from Citadel-Station-13/Ghommie-patch-3

Something about gibs and mob biotypes.
This commit is contained in:
kevinz000
2020-02-18 02:17:32 -07:00
committed by GitHub
+1 -1
View File
@@ -25,7 +25,7 @@
/mob/living/proc/spawn_gibs(with_bodyparts, atom/loc_override)
var/location = loc_override ? loc_override.drop_location() : drop_location()
if((MOB_ROBOTIC) in (mob_biotypes))
if(mob_biotypes & MOB_ROBOTIC)
new /obj/effect/gibspawner/robot(location, src, get_static_viruses())
else
new /obj/effect/gibspawner/generic(location, src, get_static_viruses())