Log bug
Logged a successful load before actually trying to load
This commit is contained in:
parent
54b9fd7596
commit
54c3427a3a
|
@ -48,8 +48,8 @@ namespace ModLoader
|
||||||
Log("Found type in " + file.Name + ": " + t.Name);
|
Log("Found type in " + file.Name + ": " + t.Name);
|
||||||
if (t.IsClass && t.IsSubclassOf(typeof(MonoBehaviour)))
|
if (t.IsClass && t.IsSubclassOf(typeof(MonoBehaviour)))
|
||||||
{
|
{
|
||||||
Log("Loaded '" + t.Name + "' in " + file.Name);
|
|
||||||
modObjects.AddComponent(t);
|
modObjects.AddComponent(t);
|
||||||
|
Log("Loaded '" + t.Name + "' in " + file.Name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue