should properly save created game object files as resources now

This commit is contained in:
princessbobsanta 2016-04-21 18:19:53 -10:00
parent e62a62d510
commit ebc01009d8
2 changed files with 4 additions and 0 deletions

View File

@ -788,6 +788,8 @@ namespace GameCreatorGroupProject
}
}
}
resImporter.SaveResource(project, txtObjectName.Text, ".gob", project.getResourceDir());
listObjects.Items.Add(txtObjectName.Text + ".gob");
}
if (!txtObjectName.Text.Equals(""))
{
@ -801,6 +803,8 @@ namespace GameCreatorGroupProject
}
file1 = file1 + i.ToString();
}
resImporter.SaveResource(project, txtObjectName.Text, ".goc", project.getResourceDir());
listObjects.Items.Add(txtObjectName.Text + ".goc");
}
}