Skip to content

Commit

Permalink
as_log.cpp: Зарегал log() вместо log_error() в прошлом коммите
Browse files Browse the repository at this point in the history
  • Loading branch information
1vanK committed Nov 5, 2024
1 parent a6dca20 commit 9b12ea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/as_log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ bool register_log(asIScriptEngine* e)
bool success = true;
i32 r;

AS_CHECK(RegisterGlobalFunction("void log_error(const string&in)", asFUNCTION(log), asCALL_CDECL));
AS_CHECK(RegisterGlobalFunction("void log_error(const string&in)", asFUNCTION(log_error), asCALL_CDECL));

return success;
}

0 comments on commit 9b12ea6

Please sign in to comment.