mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-27 00:34:46 +01:00
@@ -387,7 +387,8 @@ namespace GameActions
|
||||
playerIndex != -1, "Unable to find player %u for game action %u", playerId, action->GetType());
|
||||
|
||||
NetworkSetPlayerLastAction(playerIndex, action->GetType());
|
||||
if (result.Cost != 0)
|
||||
NetworkIncrementPlayerNumCommands(playerIndex);
|
||||
if (result.Cost > 0)
|
||||
{
|
||||
NetworkAddPlayerMoneySpent(playerIndex, result.Cost);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user