mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-03 13:30:25 +07:00
DesktopLauncher -debug argument
This commit is contained in:
parent
b3ef412368
commit
747c6186d4
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user