toon: fix skill credit label
This commit is contained in:
parent
e0b9d18728
commit
4f4054a751
|
|
@ -327,9 +327,9 @@ class InventoryNew(InventoryBase.InventoryBase, DirectFrame):
|
||||||
credit = min(credit, maxCredit)
|
credit = min(credit, maxCredit)
|
||||||
credit = int(credit * 10 + 0.5)
|
credit = int(credit * 10 + 0.5)
|
||||||
if credit % 10 == 0:
|
if credit % 10 == 0:
|
||||||
credit /= 10
|
credit //= 10
|
||||||
else:
|
else:
|
||||||
credit /= 10.0
|
credit //= 10.0
|
||||||
if self.detailCredit == credit:
|
if self.detailCredit == credit:
|
||||||
return
|
return
|
||||||
if credit != None:
|
if credit != None:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue