Merge pull request #5814 from Mailaender/vamos-vamos

Fixed units not moving to the RallyPoint
This commit is contained in:
Paul Chote
2014-07-05 20:00:47 +12:00
7 changed files with 18 additions and 19 deletions

View File

@@ -31,7 +31,7 @@ end
Production.SetRallyPoint = function(factory, location)
local srp = Actor.Trait(factory, "RallyPoint")
if srp ~= nil then
srp.rallyPoint = location.Location
srp.Location = location.Location
end
end