mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix entity component script source path in lua traceback
This commit is contained in:
parent
29d8c4bbb8
commit
f9f150f0aa
2 changed files with 2 additions and 2 deletions
|
|
@ -814,7 +814,7 @@ void ContentLoader::load() {
|
|||
scripting::load_entity_component(
|
||||
name,
|
||||
file,
|
||||
pack->id + ":scripts/components/" + file.stem().u8string()
|
||||
pack->id + ":scripts/components/" + file.filename().u8string()
|
||||
);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue