Skip to content

Commit

Permalink
Fix nullref
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed Nov 1, 2024
1 parent 45746dd commit a52f04f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Fika.Core/Networking/FikaServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ private void OnWeatherPacketReceived(WeatherPacket packet, NetPeer peer)
IsRequest = false,
HasData = true,
Season = coopGame.Season,
SpringSnowFactor = coopGame.SeasonsSettings.SpringSnowFactor,
SpringSnowFactor = coopGame.SeasonsSettings != null ? coopGame.SeasonsSettings.SpringSnowFactor : Vector3.zero, // Temp fix
Amount = coopGame.WeatherClasses.Length,
WeatherClasses = coopGame.WeatherClasses
};
Expand Down

0 comments on commit a52f04f

Please sign in to comment.