Mercurial > molko
diff libmlk-adventure/adventure/state/splashscreen.c @ 299:648f5f949afb
core: implement stackable states
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sun, 11 Apr 2021 16:41:34 +0200 |
parents | 196264679079 |
children | d01e83210ca2 |
line wrap: on
line diff
--- a/libmlk-adventure/adventure/state/splashscreen.c Wed Mar 10 18:49:08 2021 +0100 +++ b/libmlk-adventure/adventure/state/splashscreen.c Sun Apr 11 16:41:34 2021 +0200 @@ -75,7 +75,7 @@ self->elapsed += ticks; if (self->elapsed >= DELAY) - game_switch(state_mainmenu_new(), 0); + game_push(state_mainmenu_new()); } static void