diff --git a/desktop/src/mindustry/desktop/DesktopLauncher.java b/desktop/src/mindustry/desktop/DesktopLauncher.java index 1de468f504..1e74170914 100644 --- a/desktop/src/mindustry/desktop/DesktopLauncher.java +++ b/desktop/src/mindustry/desktop/DesktopLauncher.java @@ -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){