diff --git a/d2core/d2components/game_config.go b/d2core/d2components/game_config.go index af398e59..4a1a3a04 100644 --- a/d2core/d2components/game_config.go +++ b/d2core/d2components/game_config.go @@ -1,6 +1,7 @@ package d2components import ( + "github.com/OpenDiablo2/OpenDiablo2/d2common/d2util" "os/user" "path" "runtime" @@ -26,6 +27,7 @@ type GameConfigComponent struct { RunInBackground bool VsyncEnabled bool Backend string + LogLevel d2util.LogLevel } // ID returns a unique identifier for the component type @@ -140,6 +142,7 @@ func defaultConfig() *GameConfigComponent { "d2video.mpq", "d2speech.mpq", }, + LogLevel: d2util.LogLevelDefault, } switch runtime.GOOS {