Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Player data is not cleared after quitting #43

Closed
VargaDot opened this issue Mar 1, 2024 · 0 comments · Fixed by #44
Closed

Player data is not cleared after quitting #43

VargaDot opened this issue Mar 1, 2024 · 0 comments · Fixed by #44
Assignees
Labels
bug Something isn't working
Milestone

Comments

@VargaDot
Copy link
Owner

VargaDot commented Mar 1, 2024

the current setup keeps the game's player(s) data in memory when you quit to the main menu, this is because khana is an autoloaded script.

Fixes include:

  • Create a function to wipe all data in memory.
  • Make khana a node that gets created when game scene is instantiated
@VargaDot VargaDot added the bug Something isn't working label Mar 1, 2024
@VargaDot VargaDot added this to the Monopoly 1.0 milestone Mar 1, 2024
@VargaDot VargaDot self-assigned this Mar 1, 2024
@VargaDot VargaDot changed the title Clearing data when quitting Player data is not cleared after quitting Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant