Fix IDE0074, SA1316 and followup CS8141

This commit is contained in:
Gustas
2023-04-09 08:30:30 +03:00
committed by Paul Chote
parent 595717fff0
commit 3ca2bb1d23
3 changed files with 5 additions and 7 deletions

View File

@@ -61,9 +61,7 @@ namespace OpenRA.Mods.Common.Widgets
minVal = minValue;
maxVal = maxValue;
if (newHue == null)
newHue = H;
newHue ??= H;
var buffer = new byte[4 * 256 * 256];
unsafe
{