Fixes null propogation
This commit is contained in:
parent
22ab83ea9e
commit
3c9842ee5a
218 changed files with 799 additions and 1458 deletions
|
|
@ -198,8 +198,7 @@ namespace Server.Misc
|
|||
|
||||
List<Weather> list = GetWeatherList( facet );
|
||||
|
||||
if ( list != null )
|
||||
list.Add( this );
|
||||
list?.Add( this );
|
||||
|
||||
Timer.DelayCall( TimeSpan.FromSeconds( (0.2+(Utility.RandomDouble()*0.8)) * interval.TotalSeconds ), interval, new TimerCallback( OnTick ) );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue