mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 09:39:21 +02:00
Fix issue #143
This commit is contained in:
parent
6d6f600c44
commit
b806b57628
@ -221,8 +221,10 @@ function CharacterList.create(characters, account, otui)
|
||||
characterList:focusChild(focusLabel, ActiveFocusReason)
|
||||
|
||||
-- account
|
||||
if account.premDays > 0 then
|
||||
if account.premDays > 0 and account.premDays < 65535 then
|
||||
accountStatusLabel:setText(tr("Account Status:\nPremium Account (%s) days left", account.premDays))
|
||||
elseif account.premDays >= 65535 then
|
||||
accountStatusLabel:setText(tr("Account Status:\nLifetime Premium Account"))
|
||||
else
|
||||
accountStatusLabel:setText(tr('Account Status:\nFree Account'))
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user