fixed bug, when character created in multiplayer mode but game started in single

This commit is contained in:
M. Sz 2021-01-13 20:37:45 +01:00
parent 845abcae0f
commit 7178b8e56c
1 changed files with 1 additions and 1 deletions

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