Fix IDE0030
This commit is contained in:
committed by
Pavel Penev
parent
8223161959
commit
99c1a4448b
@@ -30,7 +30,7 @@ namespace OpenRA.Mods.Common.Scripting.Global
|
||||
var luaLabel = Ui.Root.Get("INGAME_ROOT").Get<LabelWidget>("MISSION_TEXT");
|
||||
luaLabel.GetText = () => text;
|
||||
|
||||
var c = color.HasValue ? color.Value : Color.White;
|
||||
var c = color ?? Color.White;
|
||||
luaLabel.GetColor = () => c;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user