mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-12 22:58:01 +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 )
|
||||
{
|
||||
if ( i.Definition == null )
|
||||
continue;
|
||||
|
||||
i.Definition.InRecipe( r );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user