fix: lua setInterval stack overflow

This commit is contained in:
MihailRis
2024-06-12 19:39:31 +03:00
parent fc34ca6875
commit fe55b94ebd
5 changed files with 24 additions and 13 deletions
+2 -1
View File
@@ -41,7 +41,8 @@ namespace scripting {
void initialize(Engine* engine);
extern bool register_event(int env, const std::string& name, const std::string& id);
bool register_event(int env, const std::string& name, const std::string& id);
int get_values_on_stack();
scriptenv get_root_environment();
scriptenv create_pack_environment(const ContentPack& pack);