Merge pull request #8609 from Mailaender/bad-lock-2

Fixed another bad choice of lock objects in ColorMixerWidget
This commit is contained in:
Pavel Penev
2015-07-02 21:12:46 +03:00

View File

@@ -98,8 +98,6 @@ namespace OpenRA.Mods.Common.Widgets
hue = H;
}
lock (back)
{
unsafe
{
// Generate palette in HSV
@@ -120,7 +118,6 @@ namespace OpenRA.Mods.Common.Widgets
}
}
}
}
public override void Draw()
{