rbwhitaker / CSharpPlayersGuideEarlyAccess

A place to track issues with the C# Player's Guide for patches and future editions
18 stars 0 forks source link

5th Edition Level 37 page 298 - ShipExploded.Invoke(); #708

Open chriscansler opened 1 year ago

chriscansler commented 1 year ago

I think this needs to be ShipExploded?.Invoke() - it is missing the "?" basically.

Before: if (Health <= 0) ShipExploded.Invoke();

After: if (Health <= 0) ShipExploded?.Invoke();