Fixes bug that would loop over every unit in the group.

Only the players in a group should be unassigned, not all units.
This commit is contained in:
FlightControl
2017-06-29 10:17:55 +02:00
parent 975566eb3c
commit bccc4abf26
2 changed files with 9 additions and 6 deletions

View File

@@ -990,7 +990,6 @@ do -- FSM_PROCESS
-- Copy Processes
for ProcessID, Process in pairs( self:GetProcesses() ) do
self:E( { Process} )
if Process.fsm then
Process.fsm:Remove()
Process.fsm = nil