Fix IDE0028, IDE0300, IDE0301, IDE0302, IDE0303, IDE0304.
Silence IDE0305.
This commit is contained in:
committed by
Pavel Penev
parent
0740991c12
commit
79454d8fd2
@@ -31,7 +31,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
|
||||
{
|
||||
promptAccepted = true;
|
||||
Ui.ResetAll();
|
||||
Game.LoadWidget(world, "MAINMENU", Ui.Root, new WidgetArgs());
|
||||
Game.LoadWidget(world, "MAINMENU", Ui.Root, []);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,8 +26,8 @@ namespace OpenRA.Mods.Cnc.Widgets
|
||||
public float Scale = 10f;
|
||||
public int LightPitch = 142;
|
||||
public int LightYaw = 682;
|
||||
public float[] LightAmbientColor = new float[] { 0.6f, 0.6f, 0.6f };
|
||||
public float[] LightDiffuseColor = new float[] { 0.4f, 0.4f, 0.4f };
|
||||
public float[] LightAmbientColor = [0.6f, 0.6f, 0.6f];
|
||||
public float[] LightDiffuseColor = [0.4f, 0.4f, 0.4f];
|
||||
public WRot Rotation = WRot.None;
|
||||
public WAngle CameraAngle = WAngle.FromDegrees(40);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user