mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-02-04 06:21:02 -08:00
DesktopLauncher -debug argument
This commit is contained in:
parent
b3ef412368
commit
747c6186d4
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue