Commit 6b40d746 authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix: sorry to say that in "-r" case i forget to do postEventFromUser();

parent c6516e2a
......@@ -35,6 +35,7 @@ int main(int argc, char* argv[]) {
if(!strcmp(argv[1], "-j")){
event.GUIEvent.Caller = ygo::mainGame->btnLanMode;
ygo::mainGame->device->postEventFromUser(event);
//TODO: wait for wLanWindow show. if network connection faster than wLanWindow, wLanWindow will still show on duel scene.
event.GUIEvent.Caller = ygo::mainGame->btnJoinHost;
ygo::mainGame->device->postEventFromUser(event);
}else if(!strcmp(argv[1], "-d")){
......@@ -45,6 +46,7 @@ int main(int argc, char* argv[]) {
ygo::mainGame->device->postEventFromUser(event);
ygo::mainGame->lstReplayList->setSelected(0);
event.GUIEvent.Caller = ygo::mainGame->btnLoadReplay;
ygo::mainGame->device->postEventFromUser(event);
}
}
ygo::mainGame->MainLoop();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment