Fix for temporary collections.

This commit is contained in:
Ottermandias 2022-06-20 18:27:13 +02:00
parent 6ebf550284
commit c4f82435bf

View file

@ -134,6 +134,11 @@ public partial class ModCollection
{
get
{
if( Index <= 0 )
{
return ( ModSettings.Empty, this );
}
foreach( var collection in GetFlattenedInheritance() )
{
var settings = collection._settings[ idx ];