mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix #6503. GameActions correctly recorded.
Mistake made during GameActions refactor.
This commit is contained in:
parent
b96657c0cd
commit
85b257cc2e
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue