Fix #6503. GameActions correctly recorded.

Mistake made during GameActions refactor.
This commit is contained in:
duncanspumpkin 2017-10-17 18:17:41 +01:00 committed by Michael Steenbeek
parent b96657c0cd
commit 85b257cc2e
1 changed files with 0 additions and 7 deletions

View File

@ -1422,13 +1422,6 @@ void Network::ProcessGameCommandQueue()
if (result->Error == GA_ERROR::OK)
{
game_commands_processed_this_tick++;
NetworkPlayer* player = GetPlayerByID(gc.playerid);
if (player) {
player->LastAction = NetworkActions::FindCommand(action->GetType());
player->LastActionTime = platform_get_ticks();
player->AddMoneySpent(result->Cost);
}
Server_Send_GAME_ACTION(action);
}
}