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 authored and Popax21 committed Aug 23, 2023
1 parent 8eeb880 commit 1bad337
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 1bad337

Please sign in to comment.