diff --git a/core/src/mindustry/core/Platform.java b/core/src/mindustry/core/Platform.java index 84e67a9f2300..e395d824127a 100644 --- a/core/src/mindustry/core/Platform.java +++ b/core/src/mindustry/core/Platform.java @@ -290,7 +290,13 @@ default void showNativeFileChooser(boolean open, String title, Cons cons, St }); }catch(Throwable error){ Log.err("Failure to execute native file chooser", error); - Core.app.post(() -> defaultFileDialog(open, title, ext[0], cons)); + Core.app.post(() -> { + if(ext.length > 1){ + defaultMultiFileChooser(cons, ext); + }else{ + defaultFileDialog(open, title, ext[0], cons); + } + }); } }); }