mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 19:13:07 +01:00
Fix #5676: Last action issues
LastActionTime using server tick instead of real time platform ticks. (#5722)
This commit is contained in:
@@ -1363,7 +1363,7 @@ void Network::ProcessGameCommandQueue()
|
||||
return;
|
||||
|
||||
player->LastAction = NetworkActions::FindCommand(command);
|
||||
player->LastActionTime = gc.tick;
|
||||
player->LastActionTime = platform_get_ticks();
|
||||
player->AddMoneySpent(cost);
|
||||
|
||||
if (mode == NETWORK_MODE_SERVER) {
|
||||
|
||||
Reference in New Issue
Block a user