diff --git a/source/Core/Funcs.inc b/source/Core/Funcs.inc index a8a50b6f..11c1a405 100644 --- a/source/Core/Funcs.inc +++ b/source/Core/Funcs.inc @@ -51,7 +51,7 @@ static SQInteger SqGetEvents(HSQUIRRELVM vm) } // ------------------------------------------------------------------------------------------------ -static SQInteger SqEnableNullEntities(HSQUIRRELVM vm) +static SQInteger SqForceEnableNullEntities(HSQUIRRELVM vm) { Core::Get().EnableNullEntities(); return 0; @@ -358,7 +358,7 @@ void Register_Core(HSQUIRRELVM vm) .Func(_SC("OnPreLoad"), &SqGetPreLoadEvent) .Func(_SC("OnPostLoad"), &SqGetPostLoadEvent) .Func(_SC("OnUnload"), &SqGetUnloadEvent) - .SquirrelFunc(_SC("EnableNullEntities"), &SqEnableNullEntities) + .SquirrelFunc(_SC("ForceEnableNullEntities"), &SqForceEnableNullEntities) .SquirrelFunc(_SC("LoadScript"), &SqLoadScript) .SquirrelFunc(_SC("On"), &SqGetEvents);