Skip to content

Commit

Permalink
Add missing valid check for militia flag spawn (#853)
Browse files Browse the repository at this point in the history
Co-authored-by: Zanieon <[email protected]>
  • Loading branch information
GeckoEidechse and Zanieon authored Aug 30, 2024
1 parent 83afd8c commit 6cd957e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ void function CreateFlags()
file.imcFlagSpawn.Destroy()
file.imcFlag.Destroy()
file.imcFlagReturnTrigger.Destroy()

}
if ( IsValid( file.militiaFlagSpawn ) )
{
file.militiaFlagSpawn.Destroy()
file.militiaFlag.Destroy()
file.militiaFlagReturnTrigger.Destroy()
Expand Down

0 comments on commit 6cd957e

Please sign in to comment.