1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-11-25 15:03:34 +00:00

fix android build

This commit is contained in:
Alula 2022-01-16 02:57:12 +01:00
parent 1b702d1a5a
commit 4f00d439f3
No known key found for this signature in database
GPG key ID: 3E00485503A1D8BA

View file

@ -1,7 +1,7 @@
#[cfg(target_os = "android")] #[cfg(target_os = "android")]
#[cfg_attr(target_os = "android", ndk_glue::main())] #[cfg_attr(target_os = "android", ndk_glue::main())]
pub fn android_main() { pub fn android_main() {
let options = doukutsu_rs::LaunchOptions { server_mode: false }; let options = doukutsu_rs::LaunchOptions { server_mode: false, editor: false };
doukutsu_rs::init(options).unwrap(); doukutsu_rs::init(options).unwrap();
} }