Removed invalid angelscript registering.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-09-19 14:10:46 +02:00
parent 6f17cb046e
commit f073e951b1
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 0 additions and 3 deletions

View File

@ -88,9 +88,6 @@ void AngelScriptResolver::Initialize(CreatureLib::Battling::BattleLibrary* arg)
auto& staticLib = library->GetStaticLib(); auto& staticLib = library->GetStaticLib();
_engine->RegisterGlobalProperty("const StaticLibrary@ StaticLib", (void*)staticLib.get()); _engine->RegisterGlobalProperty("const StaticLibrary@ StaticLib", (void*)staticLib.get());
} }
else{
_engine->RegisterGlobalProperty("const StaticLibrary@ StaticLib", nullptr);
}
_contextPool = new ContextPool(_engine); _contextPool = new ContextPool(_engine);
} }