diff --git a/src/Components/Modules/Script.cpp b/src/Components/Modules/Script.cpp index 4758784c..c88b219c 100644 --- a/src/Components/Modules/Script.cpp +++ b/src/Components/Modules/Script.cpp @@ -414,7 +414,6 @@ namespace Components void Script::SetReplacedPos(const char* what, const char* with) { - // Warn if the function was already detoured if (Script::ReplacedFunctions.find(what) != Script::ReplacedFunctions.end()) { Logger::Print("Warning: a function was already detoured by a script\n"); @@ -485,7 +484,7 @@ namespace Components void Script::AddFunctions() { - Script::AddFunction("ReplaceFunc", [](Game::scr_entref_t) // gsc: ReplaceFunc(,) + Script::AddFunction("ReplaceFunc", [](Game::scr_entref_t) // gsc: ReplaceFunc(, ) { if (Game::Scr_GetNumParam() != 2u) {