DesktopLauncher -debug argument

This commit is contained in:
Anuken 2021-08-15 22:17:17 -04:00
parent b3ef412368
commit 747c6186d4

View File

@ -11,6 +11,7 @@ import arc.func.*;
import arc.math.*;
import arc.struct.*;
import arc.util.*;
import arc.util.Log.*;
import arc.util.serialization.*;
import com.codedisaster.steamworks.*;
import mindustry.*;
@ -44,6 +45,9 @@ public class DesktopLauncher extends ClientLauncher{
if(Structs.contains(arg, "-gl3")){
gl30 = true;
}
if(Structs.contains(arg, "-debug")){
Log.level = LogLevel.debug;
}
setWindowIcon(FileType.internal, "icons/icon_64.png");
}});
}catch(Throwable e){