Added final game tick to replay meta data for completion percentage on replay.

This commit is contained in:
Jeremy
2018-12-22 22:05:52 -05:00
committed by Oliver Brakmann
parent 863091d5cc
commit 85a97998aa
4 changed files with 5 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
{
var connection = orderManager.Connection as ReplayConnection;
if (connection != null && connection.TickCount != 0)
timerTooltip.GetTooltipText = () => "{0}% complete".F(orderManager.NetFrameNumber * 100 / connection.TickCount);
timerTooltip.GetTooltipText = () => "{0}% complete".F(world.WorldTick * 100 / connection.FinalGameTick);
else
timerTooltip.GetTooltipText = null;
}