mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
fix: pack environment not passed to components
This commit is contained in:
parent
c0d326061e
commit
69cf4c1c04
4 changed files with 19 additions and 4 deletions
|
|
@ -186,10 +186,12 @@ namespace scripting {
|
|||
);
|
||||
|
||||
/// @brief Load component script
|
||||
/// @param env environment
|
||||
/// @param name component full name (packid:name)
|
||||
/// @param file component script file path
|
||||
/// @param fileName script file path using the engine format
|
||||
void load_entity_component(
|
||||
const scriptenv& env,
|
||||
const std::string& name,
|
||||
const io::path& file,
|
||||
const std::string& fileName
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue