Skip to content

Commit 2ce953a

Browse files
committed
address feedback
1 parent 05f71a3 commit 2ce953a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

code/osapi/outwnd.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ static const char *FILTERS_ENABLED_BY_DEFAULT[] =
2929
{
3030
"error",
3131
"warning",
32-
"general"
32+
"general",
33+
"scripting"
3334
};
3435

3536
struct outwnd_filter_struct {

code/scripting/api/libs/mission.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1732,7 +1732,7 @@ ADE_FUNC(waitAsync,
17321732
time_resolve_context(int timestamp) : m_timestamp(timestamp) {
17331733
static int unique_id_counter = 0;
17341734
m_unique_id = unique_id_counter++;
1735-
mprintf(("waitAsync: Creating asynchronous context %d.\n", m_unique_id));
1735+
nprintf(("scripting", "waitAsync: Creating asynchronous context %d.\n", m_unique_id));
17361736
}
17371737
void setResolver(Resolver resolver) override
17381738
{
@@ -1747,7 +1747,7 @@ ADE_FUNC(waitAsync,
17471747
}
17481748

17491749
if (timestamp_elapsed(m_timestamp)) {
1750-
mprintf(("waitAsync: Timestamp has elapsed for asynchronous context %d.\n", m_unique_id));
1750+
nprintf(("scripting", "waitAsync: Timestamp has elapsed for asynchronous context %d.\n", m_unique_id));
17511751
resolver(false, luacpp::LuaValueList());
17521752
return executor::Executor::CallbackResult::Done;
17531753
}

0 commit comments

Comments
 (0)