MudEngine:
- Fixed Game looking for a class inheriting from PlayerBasic instead of BaseCharacter during Script loading. MudGame: - Added better commenting.
This commit is contained in:
parent
486efa4fed
commit
da42864a85
2 changed files with 7 additions and 3 deletions
|
@ -199,7 +199,7 @@ namespace MudEngine.GameManagement
|
|||
|
||||
foreach (Type t in assem.GetTypes())
|
||||
{
|
||||
if (t.BaseType.Name == "PlayerBasic")
|
||||
if (t.BaseType.Name == "BaseCharacter")
|
||||
{
|
||||
Scripting.GameObject obj = new Scripting.GameObject();
|
||||
obj = scriptEngine.GetObject(t.Name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue