diff --git a/server/gameserver/gamelog.cc b/server/gameserver/gamelog.cc index 9e9fa21..1fd7bab 100644 --- a/server/gameserver/gamelog.cc +++ b/server/gameserver/gamelog.cc @@ -18,6 +18,7 @@ void GameLog::GameStart(Player* hum) a8::MutableXObject* prop = a8::MutableXObject::NewObject(); prop->SetVal("channel", channel); prop->SetVal("from_appid", hum->from_appid); + prop->SetVal("gameid", GAME_ID); prop->SetVal("account_id", hum->account_id); prop->SetVal("account_register_utctime", hum->account_registertime); prop->SetVal("account_register_date", a8::TimestampToDateTime(hum->account_registertime)); @@ -49,6 +50,7 @@ void GameLog::GameEnd(Player* hum) a8::MutableXObject* prop = a8::MutableXObject::NewObject(); prop->SetVal("channel", channel); prop->SetVal("from_appid", hum->from_appid); + prop->SetVal("gameid", GAME_ID); prop->SetVal("account_id", hum->account_id); prop->SetVal("account_register_utctime", hum->account_registertime); prop->SetVal("account_register_date", a8::TimestampToDateTime(hum->account_registertime));