mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
fix: database upgrade cannot process single path avatar
This commit is contained in:
@@ -309,8 +309,8 @@ public class EntryPoint
|
||||
foreach (var info in avatar.PathInfoes)
|
||||
{
|
||||
if (info.Value.PathId == 0)
|
||||
info.Value.PathId = info.Key;
|
||||
formalAvatar.PathInfos.Add(info.Key, new PathInfo(info.Value.PathId)
|
||||
info.Value.PathId = avatar.AvatarId;
|
||||
formalAvatar.PathInfos.Add(info.Value.PathId, new PathInfo(info.Value.PathId)
|
||||
{
|
||||
PathId = info.Value.PathId,
|
||||
EquipId = info.Value.EquipId,
|
||||
@@ -379,4 +379,4 @@ public class EntryPoint
|
||||
DanhengConnection.LogMap.TryAdd(value, name);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user