1
This commit is contained in:
commit
531bdb3e22
@ -61,6 +61,9 @@ void GameLog::GameEnd(Player* hum)
|
||||
//prop->SetVal("game_param", "");
|
||||
prop->SetVal("game_gold", hum->stats.gold);
|
||||
prop->SetVal("game_score", hum->stats.score);
|
||||
prop->SetVal("game_pass_score", hum->has_pass ? hum->stats.pass_score * 2 : hum->stats.pass_score);
|
||||
prop->SetVal("game_rank_score", hum->stats.rank_score);
|
||||
prop->SetVal("has_pass", hum->has_pass ? 1 : 0);
|
||||
prop->SetVal("nickname", hum->name);
|
||||
//prop->SetVal("localuuid", "");
|
||||
prop->SetVal("game_time", a8::XGetTickCount() - hum->create_tick);
|
||||
|
@ -1652,7 +1652,7 @@ void Human::SendGameOver()
|
||||
if (!sent_battlereport_) {
|
||||
SendBattleReport();
|
||||
sent_battlereport_ = true;
|
||||
GameLog::Instance()->GameEnd((Player*)hum);
|
||||
GameLog::Instance()->GameEnd((Player*)this);
|
||||
}
|
||||
{
|
||||
cs::SMGameOver msg;
|
||||
|
Loading…
x
Reference in New Issue
Block a user