Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Major bug]: Incorrect load/unload handling #154

Open
mikigoalie opened this issue Jan 22, 2024 · 1 comment
Open

[Major bug]: Incorrect load/unload handling #154

mikigoalie opened this issue Jan 22, 2024 · 1 comment

Comments

@mikigoalie
Copy link

Issue
I unfortunately have bare knowledge of React and especially TS, so I could not debug it myself yet, however, it seems PEFCL has incorrect handling of loading / unloading players. Once loaded, the next unload/load cycle will always keep old (initial) data displayed.

Expected behavior
Unload player A, load player B and see player B current values (money, transactions etc..)

To Reproduce
Self exxplainatory.. Load idA, unload idA, load idB and open bank as idB. You'll see idA data

Additional context
I know you are working on npwd compat, however, fixing this would be incredible boost for the resource atm.

@mikigoalie
Copy link
Author

Fixed in #160

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant