toon: fix skill credit label
This commit is contained in:
parent
e0b9d18728
commit
4f4054a751
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue