1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-09 01:10:43 +00:00

fixed build error

This commit is contained in:
M. Sz 2020-11-26 11:50:00 +01:00
parent 862951e440
commit 570d71845e

View File

@ -911,7 +911,7 @@ func (a *App) ToMainMenu(errorMessageOptional ...string) {
buildInfo := d2gamescreen.BuildInfo{Branch: a.gitBranch, Commit: a.gitCommit}
mainMenu, err := d2gamescreen.CreateMainMenu(a, a.asset, a.renderer, a.inputManager, a.audio, a.ui, buildInfo,
a.language, a.config.LogLevel, errorMessageOptional...)
a.config.LogLevel, errorMessageOptional...)
if err != nil {
a.Error(err.Error())
return