Fixes old Lua Turn Activity crash
This commit is contained in:
@@ -16,7 +16,7 @@ Actor.Create = function(name, init)
|
|||||||
end
|
end
|
||||||
|
|
||||||
Actor.Turn = function(actor, facing)
|
Actor.Turn = function(actor, facing)
|
||||||
actor:QueueActivity(OpenRA.New("Turn", { { facing, "Int32" } }))
|
actor:QueueActivity(OpenRA.New("Turn", { actor, { facing, "Int32" } }))
|
||||||
end
|
end
|
||||||
|
|
||||||
Actor.Move = function(actor, location)
|
Actor.Move = function(actor, location)
|
||||||
|
|||||||
Reference in New Issue
Block a user