From 39c0b3d6a92a1b13fd6e469793257b19804d11b7 Mon Sep 17 00:00:00 2001
From: pregmodfan <pregmodfan@cock.li>
Date: Sat, 24 Mar 2018 01:54:12 +0200
Subject: [PATCH] wrong function declaration: should be =, not ==

---
 src/js/pregJS.tw | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/js/pregJS.tw b/src/js/pregJS.tw
index 06b6429fc6b..42bf72108a9 100644
--- a/src/js/pregJS.tw
+++ b/src/js/pregJS.tw
@@ -62,7 +62,7 @@ window.bellyAdjective = function(slave) {
 }
 
 /* calculates and returns expected ovum count during conception*/
-window.setPregType == function(actor) {
+window.setPregType = function(actor) {
 	/* IMHO rework is posssible. Can be more interesting to play, if this code will take in account more body conditions - age, fat, food, hormone levels, etc. */
 	
 	var ovum = 1;
-- 
GitLab