Change: [Script] Don't allow scripts to instantiate ScriptEvent (#14276)

This commit is contained in:
Loïc Guilloux
2025-05-20 15:37:05 +02:00
committed by GitHub
parent 2926179d02
commit 4b1b2a4310
3 changed files with 4 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ ${SQUIRREL_INCLUDES}
static SQInteger ${APIUC}ObjectConstructor(HSQUIRRELVM vm)
{
return sq_throwerror(vm, "${APIUC}Object is not instantiable");
return sq_throwerror(vm, "This class is not instantiable");
}
static SQInteger ${APIUC}ObjectCloned(HSQUIRRELVM)