This commit is contained in:
aozhiwei 2019-05-05 16:28:27 +08:00
parent bcf9fa317a
commit 99c936164f

View File

@ -1264,7 +1264,6 @@ void Human::SendUpdateMsg()
void Human::UpdateGameOver()
{
#if 1
a8::MutableXObject* params = a8::MutableXObject::NewObject();
GenBattleReportData(params);
auto on_ok = [] (a8::XParams& param, a8::XObject& data)
@ -1323,11 +1322,6 @@ void Human::UpdateGameOver()
rand()
);
delete params;
#else
cs::SMGameOver msg;
FillSMGameOver(msg);
SendNotifyMsg(msg);
#endif
send_gameover = false;
}