Added bootstrap scene
This commit is contained in:
@@ -49,7 +49,15 @@ namespace PashaBibko.Pacore
|
||||
/* Adds the class type to each attribute in the dictionary */
|
||||
foreach (Type type in seen)
|
||||
{
|
||||
AttributeCache[type].Add(current);
|
||||
if (AttributeCache.ContainsKey(type))
|
||||
{
|
||||
AttributeCache[type].Add(current);
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
AttributeCache.Add(type, new List<Type> { current });
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user