moof::script::status load(moof::settings& settings, moof::script& script)
{
std::string path(name());
- if (!Scene::find_path(path))
+ if (!resource::find(path))
{
script.push("the scene file could not be found");
return moof::script::file_error;
}
-bool Scene::find_path(std::string& name)
-{
- return moof::resource::find_path(name, "scenes/", "lua");
-}
-