1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-17 12:55:24 +00:00

Merge pull request #1030 from gucio321/hotfix

bugfix: select-hero-class connection type
This commit is contained in:
gravestench 2021-01-13 19:53:09 +00:00 committed by GitHub
commit c4e2b98187
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -511,7 +511,7 @@ func (v *SelectHeroClass) onOkButtonClicked() {
}
playerState.Equipment = v.InventoryItemFactory.DefaultHeroItems[v.selectedHero]
v.navigator.ToCreateGame(playerState.FilePath, d2clientconnectiontype.Local, v.connectionHost)
v.navigator.ToCreateGame(playerState.FilePath, v.connectionType, v.connectionHost)
}
// Render renders the Select Hero Class screen