Remove unused parameters.
This commit is contained in:
committed by
abcdefg30
parent
ea243b8558
commit
0e7ad43425
@@ -252,7 +252,7 @@ namespace OpenRA.Scripting
|
||||
worldLoaded.Call().Dispose();
|
||||
}
|
||||
|
||||
public void Tick(Actor self)
|
||||
public void Tick()
|
||||
{
|
||||
if (FatalErrorOccurred || disposed)
|
||||
return;
|
||||
|
||||
@@ -108,7 +108,7 @@ namespace OpenRA.Scripting
|
||||
throw new LuaException($"The property '{Member.Name}' is write-only");
|
||||
}
|
||||
|
||||
public void Set(LuaRuntime runtime, LuaValue value)
|
||||
public void Set(LuaValue value)
|
||||
{
|
||||
if (IsSetProperty)
|
||||
{
|
||||
|
||||
@@ -63,7 +63,7 @@ namespace OpenRA.Scripting
|
||||
if (!members.TryGetValue(name, out var wrapper))
|
||||
throw new LuaException(MemberNotFoundError(name));
|
||||
|
||||
wrapper.Set(runtime, value);
|
||||
wrapper.Set(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user