BurgundyDev / ReddyEngine

Game for the 2022 GitHub Game Off!
MIT License
2 stars 1 forks source link

Crash pressing escape while in sandbox #57

Closed Daivuk closed 1 year ago

Daivuk commented 1 year ago

Logging this for later. Looks like we are leaving the InGameState, pushing InGameMenu on top, but still drawing it. So we cleared the lua stuff. Need to pass a bool to leave() function to specify if it's about to be destroyed, or just pushed down the stack.