This commit is contained in:
aozhiwei 2024-04-22 20:19:26 +08:00
parent df3a46c2c6
commit 345fc45f86

View File

@ -63,6 +63,7 @@
#include "mt/Skill.h"
#include "mt/SafeArea.h"
#include "mt/Map.h"
#include "mt/MapMode.h"
#include "mt/PveGemini.h"
#include "mt/PveGeminiMode.h"
#include "mt/PveGeminiContent.h"
@ -1114,6 +1115,8 @@ void Human::FillSMGameOver(cs::SMGameOver& msg)
p->set_game_over(room->IsGameOver() ? 1 : 0);
p->set_victory(stats->victory ? 1 : 0);
p->set_watchable(false);
p->set_map_mode_id(room->GetMapModeMeta()->id());
p->set_map_mode(room->GetReportMapMode());
p->set_map_id(room->GetMapMeta()->map_id());
p->set_battle_uuid(GetTeam()->GetBattleUuid());
@ -1168,6 +1171,8 @@ void Human::FillSMGameOver(cs::SMGameOver& msg)
}
}
p->set_map_mode_id(room->GetMapModeMeta()->id());
p->set_map_mode(room->GetReportMapMode());
p->set_map_id(room->GetMapMeta()->map_id());
p->set_battle_uuid(GetTeam()->GetBattleUuid());