Tigran il y a 3 ans
Parent
commit
22ba87c604
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;
         }