1
0
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:
Zeh Matt
2017-06-27 15:50:21 +02:00
committed by Ted John
parent f08db17d94
commit a8efd2cc4d

View File

@@ -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) {