Fix CA1822
This commit is contained in:
committed by
Pavel Penev
parent
e4cac1fffc
commit
277699cbd5
@@ -27,7 +27,7 @@ namespace OpenRA.Mods.Common.Scripting
|
||||
public ActorGlobal(ScriptContext context)
|
||||
: base(context) { }
|
||||
|
||||
ActorInit CreateInit(string initName, LuaValue value)
|
||||
static ActorInit CreateInit(string initName, LuaValue value)
|
||||
{
|
||||
// Find the requested type
|
||||
var initInstance = initName.Split(ActorInfo.TraitInstanceSeparator);
|
||||
|
||||
@@ -63,7 +63,7 @@ namespace OpenRA.Mods.Common.Scripting
|
||||
return a;
|
||||
}
|
||||
|
||||
void Move(Actor actor, CPos dest)
|
||||
static void Move(Actor actor, CPos dest)
|
||||
{
|
||||
var move = actor.TraitOrDefault<IMove>();
|
||||
if (move == null)
|
||||
|
||||
Reference in New Issue
Block a user