1
0
Quellcode durchsuchen

[fixed] breasts size won't change - fixed. Will look into "case 3" later.

sandra_schulz vor 5 Jahren
Ursprung
Commit
10097299ee
1 geänderte Dateien mit 4 neuen und 6 gelöschten Zeilen
  1. 4 6
      locations/lact_lib.qsrc

+ 4 - 6
locations/lact_lib.qsrc

@@ -299,13 +299,11 @@ if $ARGS[0] = 'BreastGrowth':
 		!!	first - check for alveoligrowth: yes, do the crazy stuff
 		!!	second - check for nbsize, magicf2b and silicone change
 		!!	there is no else on purpose, because nothing should happen to svetas breasts if nothing else changes
-		if  (lactation['nbsizechange'] + lactation['siliconechange'] + lactation['magicf2bchange']) <> (nbsize + magicf2b + silicone):
-			func('lact_lib','breastrecalc')	
-			if lactation['alveolicount_change'] <> lactation['alveolicount'] or lactation['alveoliexpandlvl_change'] <> lactation['alveoliexpandlvl']
-				func('lact_lib','breastgrowthcalc')
-			end
-		elseif lactation['alveolicount_change'] <> lactation['alveolicount'] or lactation['alveoliexpandlvl_change'] <> lactation['alveoliexpandlvl']:
+		if lactation['alveolicount_change'] <> lactation['alveolicount'] or lactation['alveoliexpandlvl_change'] <> lactation['alveoliexpandlvl']:
 			func('lact_lib','breastgrowthcalc')
+		elseif (lactation['nbsizechange'] + lactation['siliconechange'] + lactation['magicf2bchange']) <> (nbsize + magicf2b + silicone):
+			func('lact_lib','breastrecalc')
+		else
 		end
 	end
 end