mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-10-31 19:36:16 +00:00
better start menu switching for online
This commit is contained in:
parent
6cf800859e
commit
11d7b6e9e4
@ -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();
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user