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
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#[cfg(target_os = "android")]
#[cfg_attr(target_os = "android", ndk_glue::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();
}