Implements dataloading
This commit is contained in:
@@ -77,7 +77,7 @@ public class TypeLibrary : IReadOnlyTypeLibrary
|
||||
{
|
||||
var id = new TypeIdentifier((byte)( _types.Count + 1));
|
||||
_types.Add(name, id);
|
||||
_effectiveness.Add(new List<float>(_types.Count));
|
||||
_effectiveness.Add(Enumerable.Repeat(1.0f, _effectiveness.Count).ToList());
|
||||
foreach (var list in _effectiveness)
|
||||
{
|
||||
list.Add(1);
|
||||
|
||||
Reference in New Issue
Block a user