fix(Scripts/UBRS): fix crash with Solakar minions (#10638)
This commit is contained in:
parent
c861675c3b
commit
8e04e47b67
1 changed files with 4 additions and 1 deletions
|
|
@ -362,7 +362,10 @@ public:
|
|||
case FAIL:
|
||||
for (const auto& creature : SolakarSummons)
|
||||
{
|
||||
creature->RemoveFromWorld();
|
||||
if (creature)
|
||||
{
|
||||
creature->RemoveFromWorld();
|
||||
}
|
||||
}
|
||||
SolakarSummons.clear();
|
||||
CurrentSolakarWave = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue