Fix nod05 airstrike Lua crash and update map rules
- Fix airstrike Lua crash when there are no targets - Increased harvester search range - Hide owner row from husks and walls Changes to make it closer to the original: - Added e3 and sandbag production - Made airstrikes gdi only - Limited airstrike squadsize to 1 - Allow to attack civilian buildings
This commit is contained in:
@@ -319,6 +319,11 @@ end
|
||||
searches = 0
|
||||
getAirstrikeTarget = function()
|
||||
local list = player.GetGroundAttackers()
|
||||
|
||||
if #list == 0 then
|
||||
return
|
||||
end
|
||||
|
||||
local target = list[DateTime.GameTime % #list + 1].CenterPosition
|
||||
|
||||
local sams = Map.ActorsInCircle(target, WDist.New(8 * 1024), function(actor)
|
||||
|
||||
Reference in New Issue
Block a user