pefcl icon indicating copy to clipboard operation
pefcl copied to clipboard

[Major bug]: Incorrect load/unload handling

Open mikigoalie opened this issue 1 year ago • 1 comments

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 avatar Jan 22 '24 01:01 mikigoalie

Fixed in #160

mikigoalie avatar Feb 03 '24 16:02 mikigoalie