fix: stabilize ping undo state and prevent negative ping steps
This commit is contained in:
@@ -30,6 +30,7 @@ public static class ActionHistory
|
||||
{
|
||||
if (History.Count == 0) return false;
|
||||
var item = History.Pop();
|
||||
Debug.Log($"[ActionHistory] Undo {item.Type} handler={(item.Handler != null ? item.Handler.name : "null")}, remaining={History.Count}");
|
||||
|
||||
if (item.Type == ActionType.Shose)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user