mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-02-20 07:27:19 -05: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…
x
Reference in New Issue
Block a user