From 9c78ab19bf07b7f9c5afbcd80974ed670be93614 Mon Sep 17 00:00:00 2001 From: FalseIncarnate Date: Wed, 31 May 2017 17:18:23 -0400 Subject: [PATCH] just in case --- code/modules/fish/fishtank.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/fish/fishtank.dm b/code/modules/fish/fishtank.dm index c9c6108af8d..45967dc8ac7 100644 --- a/code/modules/fish/fishtank.dm +++ b/code/modules/fish/fishtank.dm @@ -383,7 +383,7 @@ var/datum/fish/parent2 = pick(breed_candidates) if(!parent2.crossbreeder) //second fish refuses to crossbreed, spawn a dud egg_list.Add(/obj/item/fish_eggs) - else if(parent1 == parent2) //both fish are the same type + else if(parent1.type == parent2.type) //both fish are the same type if(prob(90)) //90% chance to get that type of egg egg_list.Add(parent1.egg_item) else //10% chance to get a dud