fix: pack environment not passed to components

This commit is contained in:
MihailRis
2025-12-08 19:21:49 +03:00
committed by ShiftyX1
parent 59df377fde
commit 5ae34c2dc2
4 changed files with 19 additions and 4 deletions
+2
View File
@@ -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