More warning fixes
This commit is contained in:
@@ -17,7 +17,7 @@ public class SetWeather : Script
|
||||
{
|
||||
throw new Exception("Weather not provided.");
|
||||
}
|
||||
_weather = weather!.ToString();
|
||||
_weather = weather.ToString();
|
||||
if (parameters.TryGetValue("turns", out var turns) && turns is int turn)
|
||||
{
|
||||
_defaultTurns = turn;
|
||||
|
||||
Reference in New Issue
Block a user