Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix broken example of gamestates Running as-is gives this error: ```console $ janet examples/04-gamestates.janet menu init menu enter () menu game state dt: 0 switching to game game init game game state dt: 1 Lets go back to the menu error: unknown method :back-to-menu invoked on <table 0x55E56A3BB2C0> in _thunk [examples/04-gamestates.janet] (tailcall) on line 33, column 1 ``` With proposed change this example no longer errors out: ```console $ janet examples/04-gamestates.janet menu init menu enter () menu game state dt: 0 switching to game game init game game state dt: 1 Lets go back to the menu game leave menu enter () menu game state dt: 2 ```
- Loading branch information