This commit is contained in:
aozhiwei 2021-06-10 16:43:25 +08:00
parent 93edcf786d
commit 242db70a3f

View File

@ -314,6 +314,9 @@ cs::SMUpdate* FrameMaker::MakeUpdateMsg(Human* hum)
if (room->frame_event.airdrops_.size() > 0) {
*msg->mutable_airdrop() = room->frame_event.airdrops_.Get(0);
}
if (room->frame_event.airraids_.size() > 0) {
*msg->mutable_airraid() = room->frame_event.airraids_.Get(0);
}
if (room->GetGasData().gas_mode == GasMoving) {
msg->set_gas_progress(room->GetGasData().gas_progress);
TypeConvert::ToPb(room->GetGasData().pos_old, msg->mutable_gas_pos_old());