remove needless Stopwatch instance from TimerWidget
This commit is contained in:
@@ -9,14 +9,11 @@
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using OpenRA.Support;
|
|
||||||
|
|
||||||
namespace OpenRA.Widgets
|
namespace OpenRA.Widgets
|
||||||
{
|
{
|
||||||
public class TimerWidget : Widget
|
public class TimerWidget : Widget
|
||||||
{
|
{
|
||||||
public Stopwatch Stopwatch;
|
|
||||||
|
|
||||||
public override void Draw()
|
public override void Draw()
|
||||||
{
|
{
|
||||||
var s = WidgetUtils.FormatTime(Game.LocalTick);
|
var s = WidgetUtils.FormatTime(Game.LocalTick);
|
||||||
|
|||||||
Reference in New Issue
Block a user