diff --git a/src/server/game/gm_handler.go b/src/server/game/gm_handler.go index a8dc27e5..a11f1b0a 100644 --- a/src/server/game/gm_handler.go +++ b/src/server/game/gm_handler.go @@ -612,7 +612,13 @@ func ReqGmCommand_(player *Player, Command string) error { title := languageCfg.GetLanguage(msg.LANG_TYPE(PlayerSimpleData.Lang), titlekey) info := languageCfg.GetLanguage(msg.LANG_TYPE(PlayerSimpleData.Lang), infokey) BaseMod := player.PlayMod.getBaseMod() - GoUtil.NotifyPlayer(GoUtil.Int(PlayerSimpleData.Account), 2, title, fmt.Sprintf(info, BaseMod.NickName)) + GoUtil.NotifyPlayer(GoUtil.Int(PlayerSimpleData.Account), 1, title, fmt.Sprintf(info, BaseMod.NickName)) + + titlekey, infokey = notification_cfg.GetPetroomGameNotificationMsg() + title = languageCfg.GetLanguage(msg.LANG_TYPE(PlayerSimpleData.Lang), titlekey) + info = languageCfg.GetLanguage(msg.LANG_TYPE(PlayerSimpleData.Lang), infokey) + GoUtil.NotifyPlayer(GoUtil.Int(PlayerSimpleData.Account), NOTIFY_TYPE_PETROOM_GAME, fmt.Sprintf(title, PlayerSimpleData.PetName), fmt.Sprintf(info, PlayerSimpleData.PetName)) + default: return fmt.Errorf("Player %d ReqGmCommand:%v not found", player.M_DwUin, arg) }