增加GM
This commit is contained in:
parent
befdbd75a4
commit
61f50a8e61
@ -122,7 +122,7 @@ func ReqGmCommand_(player *Player, Command string) error {
|
||||
Now := GoUtil.Now()
|
||||
FaceMod := player.PlayMod.getFaceMod()
|
||||
FaceList := faceCfg.GetAllId()
|
||||
FaceMod.List = nil
|
||||
FaceMod.List = make(map[int]*face.Face)
|
||||
for _, v := range FaceList {
|
||||
FaceMod.List[v] = &face.Face{
|
||||
AddTime: Now,
|
||||
@ -130,7 +130,7 @@ func ReqGmCommand_(player *Player, Command string) error {
|
||||
}
|
||||
|
||||
AvatarMod := player.PlayMod.getAvatarMod()
|
||||
AvatarMod.List = nil
|
||||
AvatarMod.List = make(map[int]*avatar.Avatar)
|
||||
AvatarList := avatarCfg.GetAllId()
|
||||
|
||||
for _, v := range AvatarList {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user