mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 14:24:33 +01:00
Fix #6503. GameActions correctly recorded.
Mistake made during GameActions refactor.
This commit is contained in:
committed by
Michael Steenbeek
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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user