Skip to content

Commit

Permalink
Split bool setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed May 10, 2024
1 parent c088572 commit 4e60392
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ private static void PatchPostfix(BulletClass flareCartridge)

if (gameWorld != null && points && _usableFlares.Any(x => x == flareCartridge.Template._id))
{
gameWorld.gameObject.AddComponent<FikaAirdropsManager>().isFlareDrop = true;
FikaAirdropsManager airdropsManager = gameWorld.gameObject.AddComponent<FikaAirdropsManager>();
airdropsManager.isFlareDrop = true;
}
}
}
Expand Down

0 comments on commit 4e60392

Please sign in to comment.