Fix #5676: Last action issues

LastActionTime using server tick instead of real time platform ticks. (#5722)
This commit is contained in:
Zeh Matt authored and Ted John committed 2017-06-27 14:50:21 +01:00
1 parent f08db17d94
commit a8efd2cc4d
1 file changed
+1 -1
+1 -1
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) {