Skip to content

Commit

Permalink
small mut update
Browse files Browse the repository at this point in the history
  • Loading branch information
GenZmeY committed May 14, 2023
1 parent da2e6da commit bc908b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion AAL/Classes/AALMut.uc
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public event PreBeginPlay()
if (AAL == None)
{
`Log_Base("FATAL: Can't Spawn 'AAL'");
WorldInfo.Game.RemoveMutator(Self);
SafeDestroy();
}
}
Expand All @@ -35,7 +36,7 @@ public function AddMutator(Mutator Mut)
if (Mut == Self) return;

if (Mut.Class == Class)
Mut.Destroy();
AALMut(Mut).SafeDestroy();
else
Super.AddMutator(Mut);
}
Expand Down

0 comments on commit bc908b6

Please sign in to comment.