diff --git a/hyper.cpp b/hyper.cpp index a5e44652..91e81209 100644 --- a/hyper.cpp +++ b/hyper.cpp @@ -61,8 +61,10 @@ int main(int argc, const char **argv) { #if CAP_COMMANDLINE arg::read(3); #endif +#if !ISWEB if(showstartmenu) pushScreen(showStartMenu); +#endif mainloop(); finishAll(); profile_info(); diff --git a/hyperweb.cpp b/hyperweb.cpp index 85aeaaf4..af6d9385 100644 --- a/hyperweb.cpp +++ b/hyperweb.cpp @@ -136,7 +136,8 @@ void initweb() { rug::renderonce = true; // toggleanim(false); emscripten_set_fullscreenchange_callback(0, NULL, false, fsc_callback); - pushScreen(showDemo); + printf("showstartmenu = %d\n", showstartmenu); + if(showstartmenu) pushScreen(showDemo); } transmatrix getOrientation() {