I fixed some
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user