mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-21 21:17:25 +00:00
Add ship shake to not log about being missing
This log was causing confusion and issues when in reality there was no problem present.
This commit is contained in:
parent
a923a2baa7
commit
bd609dfc90
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user