fixed android project template

This commit is contained in:
Dmitry Stepanov
2024-03-31 17:52:34 +03:00
parent 3311b5e426
commit 41a1f1ec2c
+1 -1
View File
@@ -563,7 +563,7 @@ fn android_main(app: fyrox::platform::android::activity::AndroidApp) {{
io::ANDROID_APP
.set(app.clone())
.expect("ANDROID_APP cannot be set twice.");
let event_loop = EventLoopBuilder::new().with_android_app(app).build();
let event_loop = EventLoopBuilder::new().with_android_app(app).build().unwrap();
let mut executor = Executor::from_params(event_loop, Default::default());
executor.add_plugin(Game::default());
executor.run()