forked from rosebudai/OpenRCT2-Web
Fix #5676: Last action issues
LastActionTime using server tick instead of real time platform ticks. (#5722)
This commit is contained in:
1 parent
f08db17d94
commit
a8efd2cc4d
1 file changed
+1
-1
@@ -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