toon: fix skill credit label

This commit is contained in:
John Cote 2020-01-11 10:59:05 -05:00
parent e0b9d18728
commit 4f4054a751

View file

@ -327,9 +327,9 @@ class InventoryNew(InventoryBase.InventoryBase, DirectFrame):
credit = min(credit, maxCredit)
credit = int(credit * 10 + 0.5)
if credit % 10 == 0:
credit /= 10
credit //= 10
else:
credit /= 10.0
credit //= 10.0
if self.detailCredit == credit:
return
if credit != None: