mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-03-29 13:49:03 +03:00
Fixed NRE when definitions are updating
This commit is contained in:
parent
287744fd83
commit
b5767fd1b6
@ -285,6 +285,9 @@ namespace Facepunch.Steamworks
|
|||||||
|
|
||||||
foreach ( var i in r.Ingredients )
|
foreach ( var i in r.Ingredients )
|
||||||
{
|
{
|
||||||
|
if ( i.Definition == null )
|
||||||
|
continue;
|
||||||
|
|
||||||
i.Definition.InRecipe( r );
|
i.Definition.InRecipe( r );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user