Skip to content

Commit

Permalink
Add null check on GenericStrawberrySeed OnAllCollected
Browse files Browse the repository at this point in the history
  • Loading branch information
nhruo123 committed Aug 20, 2023
1 parent 0609fca commit 3be84f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Celeste.Mod.mm/Mod/Entities/GenericStrawberrySeed.cs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ private IEnumerator ReturnRoutine() {

public void OnAllCollected() {
finished = true;
follower.Leader.LoseFollower(follower);
follower.Leader?.LoseFollower(follower);
Depth = -2000002;
Tag = Tags.FrozenUpdate;
wiggler.Start();
Expand Down

0 comments on commit 3be84f7

Please sign in to comment.