Ver código fonte

!2 fix runtype

pcacc 3 meses atrás
pai
commit
8cabc8a3c0
1 arquivos alterados com 4 adições e 1 exclusões
  1. 4 1
      app_dongri.py

+ 4 - 1
app_dongri.py

@@ -455,7 +455,10 @@ def get_rungame_type():
     if runTypeStr not in config:
         return 0
     else:
-        return config[runTypeStr]
+        if config[runTypeStr] == 0:
+            return 1
+        else:
+            return 0
 
 # 修改或添加 "login_task" 的值
 def set_login_task(config, value):