Tigran 3 年之前
父節點
當前提交
22ba87c604
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      CardCollector/Session/Session.cs

+ 1 - 1
CardCollector/Session/Session.cs

@@ -122,7 +122,7 @@ namespace CardCollector.Session
 
         public void UndoCurrentCommand()
         {
-            if (MenuStack.TryPeek(out var menu) && menu.GetType() == CurrentCommandType) MenuStack.Pop();
+            if (MenuStack.TryPeek(out var menu) && menu.GetMenuType() == CurrentCommandType) MenuStack.Pop();
             CurrentCommandType = PreviousCommandType;
         }