This commit is contained in:
aozhiwei 2020-05-26 19:44:54 +08:00
parent 4277ae2f99
commit 2a31081009

View File

@ -2206,7 +2206,10 @@ void Human::GenBattleReportData(a8::MutableXObject* params)
}
}
}//end if rank_reward_meta
params->SetVal("items", items_str != "|" ? items_str : "");
if (!items_str.empty() && items_str[items_str.size() - 1] == '|') {
items_str.erase(items_str.begin() + items_str.size() - 1);
}
params->SetVal("items", items_str);
}
{
stats.pass_score = MetaMgr::Instance()->GetKillPointParam1(stats.kills);