Commit 6871f4f6732df677474590ca357c146dbc4065e2

Authored by zhouahaihai
1 parent be83d162

删除测试代码

Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
src/models/RoleChangeStruct.lua
... ... @@ -51,7 +51,6 @@ local RoleChangeStruct = {}
51 51 function RoleChangeStruct.bind(Role)
52 52  
53 53 function Role:changeStructVersion()
54   - globalCsv.StructVersion = 6
55 54 local curVersion = self:getProperty("structVersion")
56 55 if not globalCsv.StructVersion or curVersion >= globalCsv.StructVersion then return end
57 56  
... ... @@ -100,7 +99,7 @@ function RoleChangeStruct.bind(Role)
100 99 end
101 100 end
102 101 end
103   - -- self:setProperty("structVersion", globalCsv.StructVersion)
  102 + self:setProperty("structVersion", globalCsv.StructVersion)
104 103 end
105 104  
106 105 end
... ...