refactor
This commit is contained in:
@@ -255,7 +255,7 @@ std::unique_ptr<GeneratorScript> scripting::load_generator(
|
||||
const fs::path& file,
|
||||
const std::string& dirPath
|
||||
) {
|
||||
auto L = create_state(*engine->getPaths(), StateType::GENERATOR);
|
||||
auto L = create_state(engine->getPaths(), StateType::GENERATOR);
|
||||
|
||||
return std::make_unique<LuaGeneratorScript>(L, def, file, dirPath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user