From bd609dfc905dbf094b611a7ee7fc0a2d5e660482 Mon Sep 17 00:00:00 2001 From: Jett <55758076+Jettford@users.noreply.github.com> Date: Thu, 9 Dec 2021 13:09:12 +0000 Subject: [PATCH] Add ship shake to not log about being missing This log was causing confusion and issues when in reality there was no problem present. --- dScripts/CppScripts.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dScripts/CppScripts.cpp b/dScripts/CppScripts.cpp index 99702805..cca8a728 100644 --- a/dScripts/CppScripts.cpp +++ b/dScripts/CppScripts.cpp @@ -781,6 +781,8 @@ CppScripts::Script* CppScripts::GetScript(Entity* parent, const std::string& scr script = invalidToReturn; else if (scriptName == "scripts\\02_server\\Enemy\\General\\L_BASE_ENEMY_SPIDERLING.lua") script = invalidToReturn; + else if (scriptName == "scripts\\ai\\AG\\L_AG_SHIP_SHAKE.lua") + script = invalidToReturn; //Set ship shake to not log it is missing, it is implemented in AgSpaceStuff else if (script == invalidToReturn) { if (scriptName.length() > 0) Game::logger->Log("CppScripts", "Attempted to load CppScript for '" + scriptName + "', but returned InvalidScript.\n");