Skip to content

Commit

Permalink
msgbox
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaonanln committed Oct 25, 2017
1 parent c822fff commit d524904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/test_game/Avatar.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ type Avatar struct {
}

func (a *Avatar) OnAttrsReady() {
gwlog.Debugf("Avatar %s is ready: client=%s, mails=%d", a, a.GetClient(), a.Attrs.GetMapAttr("mails").Size())
a.setDefaultAttrs()
gwlog.Debugf("Avatar %s is ready: client=%s, mails=%d", a, a.GetClient(), a.Attrs.GetMapAttr("mails").Size())
a.Msgbox.SetMsgHandler(a.handleMsgboxMsg)
}

Expand Down

0 comments on commit d524904

Please sign in to comment.