ybx_Gdn 10 months ago
parent
commit
5e5ca86bc4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Assets/Lua/Managers/OpenPayMgr.lua

+ 1 - 1
Assets/Lua/Managers/OpenPayMgr.lua

@@ -254,7 +254,7 @@ end
 
 function OpenPayMgr:GetCurVersionCfg(version)
     local cfg 
-    if self.versionCfgs[version] == nil then
+    if self.versionCfgs==nil or self.versionCfgs[version] == nil then
         cfg = 
         {
             Version = version,