Orthocorp / orthoverse-avatars

0 stars 0 forks source link

Log in and out with different level addresses and level does not update properly #47

Closed kf106 closed 1 year ago

kf106 commented 1 year ago

To reproduce:

Log in with an address that has a high level land token, e.g. level 7 Level is shown as 7 Log out Log in with a different address that has a low level land token only, e.g. 0 Level is still shown as 7

kf106 commented 1 year ago

Ah, this actually only happens when the second account has no lands whatsoever. So it's a very specific edge case.

kf106 commented 1 year ago

Fixed by commit 49dba89