clicking on the x to close the window and then on the popup 'q' to quit, the programm throws an exception (access violation)
possible cause:
exception is thrown in refresh player function in game.cpp, probably cant handle if no player position exists (since on the select screen the players position hasnt been set yet
possible solutions:
change entire popup thing as it isnt ideal anyway
look into why its even being called in the first place if players havent been set yet
add early return or other handling if posistion/player dont exist yet
clicking on the x to close the window and then on the popup 'q' to quit, the programm throws an exception (access violation) possible cause: exception is thrown in refresh player function in game.cpp, probably cant handle if no player position exists (since on the select screen the players position hasnt been set yet possible solutions: