Fixes the speed of the blinking READY text (in RA & TD).
This commit is contained in:
committed by
Matthias Mailänder
parent
082667eeea
commit
a7c77d4155
@@ -249,7 +249,7 @@ namespace OpenRA.Mods.Cnc.Widgets
|
||||
if (first.Done)
|
||||
{
|
||||
// Blink the ready text
|
||||
if (orderManager.LocalFrameNumber / 25 % 2 == 0)
|
||||
if (orderManager.LocalFrameNumber / 9 % 2 == 0)
|
||||
overlayFont.DrawTextWithContrast(ReadyText,
|
||||
icon.Pos + readyOffset,
|
||||
Color.White, Color.Black, 1);
|
||||
|
||||
@@ -306,7 +306,7 @@ namespace OpenRA.Mods.RA.Widgets
|
||||
return HoldText;
|
||||
|
||||
if (item.Done)
|
||||
return orderManager.LocalFrameNumber / 25 % 2 == 0 ? ReadyText : "";
|
||||
return orderManager.LocalFrameNumber / 9 % 2 == 0 ? ReadyText : "";
|
||||
|
||||
return WidgetUtils.FormatTime(item.RemainingTimeActual);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user