Explorar o código

Merge remote-tracking branch 'Milky_boobs/master'

KevinSmarts %!s(int64=5) %!d(string=hai) anos
pai
achega
94c1b3e56d
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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