ui基本完毕,修了一大把的bug
This commit is contained in:
@@ -111,6 +111,11 @@ public sealed class PlayerSkillService : MonoBehaviour
|
||||
|
||||
public static void NotifySettlementCompleted(int idolScore)
|
||||
{
|
||||
if (GameConfig.autoPlayEnabled)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
EnsureInstance().HandleSettlementCompletedInternal(idolScore);
|
||||
}
|
||||
|
||||
@@ -185,7 +190,10 @@ public sealed class PlayerSkillService : MonoBehaviour
|
||||
initialized = true;
|
||||
if (!SecureSaveVault.TryLoadJson(SaveCategory, SaveKey, out saveData) || saveData == null)
|
||||
{
|
||||
saveData = new PlayerSkillSaveData();
|
||||
if (!PlayerProgressBackupService.TryRestorePlayerSkill(out saveData) || saveData == null)
|
||||
{
|
||||
saveData = new PlayerSkillSaveData();
|
||||
}
|
||||
}
|
||||
|
||||
ResolveSkillAssetIfNeeded();
|
||||
@@ -692,5 +700,6 @@ public sealed class PlayerSkillService : MonoBehaviour
|
||||
}
|
||||
|
||||
SecureSaveVault.SaveJson(SaveCategory, SaveKey, saveData);
|
||||
PlayerProgressBackupService.SavePlayerSkill(saveData);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user