Fix IDE0090
This commit is contained in:
committed by
Pavel Penev
parent
164abfdae1
commit
8a285f9b19
@@ -20,13 +20,13 @@ namespace OpenRA.Mods.Common.Scripting.Global
|
||||
: base(context) { }
|
||||
|
||||
public WAngle North => WAngle.Zero;
|
||||
public WAngle NorthWest => new WAngle(128);
|
||||
public WAngle West => new WAngle(256);
|
||||
public WAngle SouthWest => new WAngle(384);
|
||||
public WAngle South => new WAngle(512);
|
||||
public WAngle SouthEast => new WAngle(640);
|
||||
public WAngle East => new WAngle(768);
|
||||
public WAngle NorthEast => new WAngle(896);
|
||||
public WAngle NorthWest => new(128);
|
||||
public WAngle West => new(256);
|
||||
public WAngle SouthWest => new(384);
|
||||
public WAngle South => new(512);
|
||||
public WAngle SouthEast => new(640);
|
||||
public WAngle East => new(768);
|
||||
public WAngle NorthEast => new(896);
|
||||
|
||||
[Desc("Create an arbitrary angle.")]
|
||||
public WAngle New(int a) { return new WAngle(a); }
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace OpenRA.Mods.Common.Scripting
|
||||
[Desc("Part of the new Lua API.")]
|
||||
public class LuaScriptInfo : TraitInfo, Requires<SpawnMapActorsInfo>
|
||||
{
|
||||
public readonly HashSet<string> Scripts = new HashSet<string>();
|
||||
public readonly HashSet<string> Scripts = new();
|
||||
|
||||
public override object Create(ActorInitializer init) { return new LuaScript(this); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user