Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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