Przeglądaj źródła

Merge remote-tracking branch 'Milky_boobs/master'

KevinSmarts 5 lat temu
rodzic
commit
94c1b3e56d
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      locations/lact_lib.qsrc

+ 2 - 0
locations/lact_lib.qsrc

@@ -224,6 +224,8 @@ if $ARGS[0] = 'BreastGrowth':
 		!!	changes in nbsize, magicf2b or silicone?
 		if nbsize <> lactation['nbsizechange'] or magicf2b <> lactation['magicf2bchange'] or silicone <> lactation['siliconechange']:
 			!!	getting the new percentages
+			!!	nbsize checker. if nbsize is getting too small.
+			if nbsize <= 0: nbsize = 1
 			lactation['nbsizepercent'] = (nbsize*100/(nbsize + magicf2b + silicone)*100)/100
 			lactation['magicf2bpercent'] = (magicf2b*100/(nbsize + magicf2b + silicone)*100)/100
 			lactation['siliconepercent'] = (silicone*100/(nbsize + magicf2b + silicone)*100)/100