I fixed some

This commit is contained in:
ThomasCharester committed 2026-11-10 19:44:21 +03:00
1 parent 1a75cf8461
commit c0dec163cd
688 files changed
+227631 -198871

No files matched your search

@@ -6,7 +6,7 @@ namespace Code.OfficeGame.BattleMode.Actions
public int TransitionFrames = 60;
public override BattleActionData GetSnapshot()
{
var snapshot = new AttackBattleActionData()
var snapshot = new StuggerActionData()
{
TotalFrames = TotalFrames,
Finished = Finished,
@@ -19,7 +19,7 @@ namespace Code.OfficeGame.BattleMode.Actions
public override void RestoreSnapshot(BattleActionData snapshot)
{
if (snapshot is not AttackBattleActionData neededSnapshot) return;
if (snapshot is not StuggerActionData neededSnapshot) return;
TotalFrames = neededSnapshot.TotalFrames;
Finished = neededSnapshot.Finished;