|
@@ -1187,7 +1187,11 @@ func (this *Role) Update(ms uint64) {
|
|
|
|
|
|
|
|
this.roleArena.Update(ms)
|
|
this.roleArena.Update(ms)
|
|
|
this.roleMail.Update(ms)
|
|
this.roleMail.Update(ms)
|
|
|
- this.GetRoleBase().Update(ms)
|
|
|
|
|
|
|
+ if this.base == nil {
|
|
|
|
|
+ util.WarnF("uid=%v Role.Update skip: base==nil", this.GetUUid())
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.GetRoleBase().Update(ms)
|
|
|
|
|
+ }
|
|
|
this.roleTower.Update(ms)
|
|
this.roleTower.Update(ms)
|
|
|
this.roleRune.Update(ms)
|
|
this.roleRune.Update(ms)
|
|
|
this.roleHead.Update(ms)
|
|
this.roleHead.Update(ms)
|