mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-29 22:56:07 -04:00
This commit is contained in:
parent
875081f6b2
commit
b4cd37fe6a
@ -43,7 +43,7 @@ func GetAllPlayerStates() []*PlayerState {
|
||||
continue
|
||||
}
|
||||
gameState := LoadPlayerState(path.Join(basePath, file.Name()))
|
||||
if gameState == nil {
|
||||
if gameState == nil || gameState.HeroType == d2enum.HeroNone {
|
||||
continue
|
||||
// temporarily loading default class stats if the character was created before saving stats was introduced
|
||||
// to be removed in the future
|
||||
|
Loading…
Reference in New Issue
Block a user