Tigran 3 vuotta sitten
vanhempi
commit
22ba87c604
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;
         }