From 7b16ba5d4285f2ae226edfe870d6455be9fb2c71 Mon Sep 17 00:00:00 2001 From: Taryn Hill Date: Tue, 3 Mar 2015 21:44:26 -0600 Subject: [PATCH] Use correct frame indices in the asset browser with total frame count in parentheses. --- OpenRA.Mods.Common/Widgets/Logic/AssetBrowserLogic.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Widgets/Logic/AssetBrowserLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/AssetBrowserLogic.cs index cba4a9b1b9..b1d7e90652 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/AssetBrowserLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/AssetBrowserLogic.cs @@ -134,7 +134,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic frameText.GetText = () => isVideoLoaded ? "{0} / {1}".F(player.Video.CurrentFrame + 1, player.Video.Frames) : - "{0} / {1}".F(currentFrame + 1, currentSprites.Length); + "{0} / {1}".F(currentFrame, currentSprites.Length - 1); } var playButton = panel.GetOrNull("BUTTON_PLAY");