mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
refactor
This commit is contained in:
parent
5e55e20ec4
commit
d745a34657
33 changed files with 209 additions and 205 deletions
|
|
@ -18,7 +18,7 @@ Hud* scripting::hud = nullptr;
|
|||
WorldRenderer* scripting::renderer = nullptr;
|
||||
|
||||
static void load_script(const std::string& name) {
|
||||
auto file = engine->getPaths()->getResourcesFolder() / "scripts" / name;
|
||||
auto file = engine->getPaths().getResourcesFolder() / "scripts" / name;
|
||||
std::string src = files::read_string(file);
|
||||
logger.info() << "loading script " << file.u8string();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue