Skip to content

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

@mikigoalie

Description

@mikigoalie

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions