Przeglądaj źródła

gateway bug fix

cuu 5 lat temu
rodzic
commit
9920166630
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      Menu/GameShell/10_Settings/GateWay/__init__.py

+ 3 - 1
Menu/GameShell/10_Settings/GateWay/__init__.py

@@ -211,7 +211,9 @@ class GateWayPage(Page):
                         tmp = tp3
                         if tp3 == 0:
                             tmp = int(parts[3]) + 1
-                        elif tp3 > 0:
+                        elif tp3 == 1:
+                            tmp = int(parts[3]) + 1
+                        elif tp3 > 1:
                             tmp = int(parts[3]) - 1
                         
                         parts[3] = str(tmp)