1
This commit is contained in:
parent
1aaf093be2
commit
8bed0f7052
@ -673,6 +673,7 @@ void Player::_CMGuildCreate(f8::MsgHdr& hdr, const cs::CMGuildCreate& msg)
|
||||
Player* hum = PlayerMgr::Instance()->GetPlayerBySocket(msg_context->socket_handle);
|
||||
if (hum && hum->AccountId() == msg_context->account_id) {
|
||||
hum->UpdateGuildData(msg_context->guild_id, kGuildOwner);
|
||||
hum->SaveToDB(a8::XParams(), nullptr, nullptr);
|
||||
cs::SMGuildCreate respmsg;
|
||||
hum->SendMsg(respmsg);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user