diff --git a/examples/04-gamestates.janet b/examples/04-gamestates.janet index 962641e..323c68f 100644 --- a/examples/04-gamestates.janet +++ b/examples/04-gamestates.janet @@ -18,7 +18,7 @@ (:add-state *GS* menu) (:add-state *GS* game) (:add-edge *GS* (gamestate/transition :start-game :menu :game)) -(:add-edge *GS* (gamestate/transition :back-to-menu :menu :game)) +(:add-edge *GS* (gamestate/transition :back-to-menu :game :menu)) (:goto *GS* :menu) (:update *GS* dt)