Browse Source

Merge remote-tracking branch 'Milky_boobs/master'

KevinSmarts 5 năm trước cách đây
mục cha
commit
94c1b3e56d
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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