mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 06:05:46 +03:00
Fixed NRE when definitions are updating
This commit is contained in:
parent
287744fd83
commit
b5767fd1b6
@ -285,6 +285,9 @@ internal static Recipe FromString( string part, Definition[] definitions, Defini
|
||||
|
||||
foreach ( var i in r.Ingredients )
|
||||
{
|
||||
if ( i.Definition == null )
|
||||
continue;
|
||||
|
||||
i.Definition.InRecipe( r );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user