From 7342cf8a56bca0c25a165488a7ce647376b0adae Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sat, 30 Oct 2021 11:56:06 +0200 Subject: [PATCH] Update for newer base libraries --- src/Tester/AngelScript/MiscMockFunctions.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tester/AngelScript/MiscMockFunctions.hpp b/src/Tester/AngelScript/MiscMockFunctions.hpp index e0a71c0..1d00349 100644 --- a/src/Tester/AngelScript/MiscMockFunctions.hpp +++ b/src/Tester/AngelScript/MiscMockFunctions.hpp @@ -5,7 +5,7 @@ class MiscMockFunctions { static CScriptHandle CreateMoveScript(const ArbUt::StringView& name) { - auto script = Globals::Library.GetValue()->GetScriptResolver()->LoadScript(ScriptCategory::Attack, name); + auto script = Globals::Library.GetValue()->GetScriptResolver()->LoadScript(nullptr, ScriptCategory::Attack, name); if (script != nullptr) { auto* ctx = asGetActiveContext(); TestEnvironment* env = static_cast(ctx->GetUserData(684));