text 不能邀请其他游戏玩家

This commit is contained in:
aozhiwei 2020-12-24 11:23:07 +08:00
parent f12ec0c353
commit 9349f9eba5

View File

@ -255,7 +255,7 @@ void Player::_CMFriendApply(f8::MsgHdr& hdr, const cs::CMFriendApply& msg)
if (f8::ExtractGameIdFromAccountId(AccountId()) !=
f8::ExtractGameIdFromAccountId(msg.friend_id())) {
respmsg.set_errcode(3);
respmsg.set_errmsg("不能邀请其他游戏玩家");
respmsg.set_errmsg(TEXT("cant_invite_other_game_player", "不能邀请其他游戏玩家"));
SendMsg(respmsg);
return;
}