Tigran %!s(int64=3) %!d(string=hai) anos
pai
achega
22ba87c604
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
         }