mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-09 23:37:51 +07:00
But does the iOS version need MP3s now?
This commit is contained in:
@ -123,7 +123,7 @@ public class AssetsProcess extends BaseProcessor{
|
||||
if(SourceVersion.isKeyword(name)) name += "s";
|
||||
|
||||
String filepath = path.substring(path.lastIndexOf("/") + 1) + "/" + fname;
|
||||
String filename = "arc.Core.app.getType() != arc.Application.ApplicationType.iOS ? \"" + filepath + "\" : \"" + filepath.replace(".ogg", ".mp3") + "\"";
|
||||
String filename = "\"" + filepath + "\"";
|
||||
|
||||
loadBegin.addStatement("arc.Core.assets.load(" + filename + ", " + rtype + ".class).loaded = a -> " + name + " = (" + rtype + ")a", filepath, filepath.replace(".ogg", ".mp3"));
|
||||
|
||||
|
Reference in New Issue
Block a user