Update Armygroup - 050 - Rearm.lua

- fixed but that rearm command was not obeyed due to timing issue
This commit is contained in:
Frank
2026-01-02 17:05:56 +01:00
parent 5f7085f75b
commit a430d0e104
@@ -46,8 +46,8 @@ function armygroup:OnAfterOutOfAmmo()
-- Get a coordinate near the rearming truck.
local coordinate=RearmingTruck:GetRandomCoordinate(10, 25)
-- Order group to rearm at a specific coordinate.
self:Rearm(coordinate)
-- Order group to rearm at a specific coordinate after one second (need time to cancel the fire at point task)
self:__Rearm(1, coordinate)
end