From 771932354b2ced702986bb70432576adcc832e30 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Sat, 17 Apr 2021 15:21:43 +0200 Subject: [PATCH] Remove unused leftovers from GDI08a Those became redundant due to using global MoveAndHunt in SendWaves. --- mods/cnc/maps/gdi08a/gdi08a.lua | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/mods/cnc/maps/gdi08a/gdi08a.lua b/mods/cnc/maps/gdi08a/gdi08a.lua index 67b2ad4be5..6851e984a3 100644 --- a/mods/cnc/maps/gdi08a/gdi08a.lua +++ b/mods/cnc/maps/gdi08a/gdi08a.lua @@ -63,28 +63,6 @@ SendWaves = function(counter, Waves) end end -SendAttackWave = function(team) - for type, amount in pairs(team.units) do - count = 0 - local actors = Nod.GetActorsByType(type) - Utils.Do(actors, function(actor) - if actor.IsIdle and count < amount then - SetAttackWaypoints(actor, team.waypoints) - IdleHunt(actor) - count = count + 1 - end - end) - end -end - -SetAttackWaypoints = function(actor, waypoints) - if not actor.IsDead then - Utils.Do(waypoints, function(waypoint) - actor.AttackMove(waypoint.Location) - end) - end -end - CheckRepairGDIAssetsObjective = function() local failed = false local repaired = true