Browse Source

队伍等级异常

makela 2 weeks ago
parent
commit
795112ab61
1 changed files with 1 additions and 0 deletions
  1. 1 0
      project/model/role.lua

+ 1 - 0
project/model/role.lua

@@ -299,6 +299,7 @@ function THIS.role_upgrade(character, args)
         character.set_level(level)
         character.set_exp(exp)
         character.dispatch("role_level", pre, level)
+        _M.persist(character)
     end
     return 0, THIS.role_get_client_data(character)
 end