Skip to content

Commit

Permalink
ScriptEngine.cpp: libfmt build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ohlidalp committed Oct 15, 2023
1 parent 828f127 commit a2090b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/main/scripting/ScriptEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -327,12 +327,12 @@ int ScriptEngine::executeContextAndHandleErrors(ScriptUnitId_t nid)
if (context->GetFunction())
{
SLOG(fmt::format("The script ended with error code asCONTEXT_NOT_PREPARED; Function to execute: {},currently triggered event: {}, NID: {}",
context->GetFunction()->GetName(), m_currently_executing_event_trigger, nid));
context->GetFunction()->GetName(), (int)m_currently_executing_event_trigger, nid));
}
else
{
SLOG(fmt::format("The script ended with error code asCONTEXT_NOT_PREPARED; Function to execute NOT SET,currently triggered event: {}, NID: {}",
m_currently_executing_event_trigger, nid));
(int)m_currently_executing_event_trigger, nid));
}
}
else
Expand Down

0 comments on commit a2090b8

Please sign in to comment.