This commit is contained in:
aozhiwei 2023-09-26 16:48:51 +08:00
parent 3377c1021e
commit 7d5656d946
2 changed files with 2 additions and 0 deletions

View File

@ -2116,6 +2116,7 @@ void SandTable::FillMFSandTable(cs::SMUpdate* msg, Human* hum, FrameData* framed
}
auto sand_table = msg->mutable_sandtable();
sand_table->set_max_human_num(room_->GetRoomMaxPlayerNum());
if (hum->send_sand_table_msg_times <= 0) {
room_->TraverseHumanList
(

View File

@ -1344,6 +1344,7 @@ message MFSandTableMsg
message MFSandTable
{
repeated MFSandTableMsg msgs = 1; //
optional int32 max_human_num = 2; //
}
//