Skip to content

Commit

Permalink
Lua: fix typo in error message for WatchForCode
Browse files Browse the repository at this point in the history
  • Loading branch information
black-sliver committed Jul 26, 2024
1 parent ff861c4 commit 8c5ec47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/scripthost.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ ScriptHost::ScriptHost(Pack* pack, lua_State *L, Tracker *tracker)
else
lua_pushstring(_L, pair.second.code.c_str()); // arg1: watched code
if (lua_pcall(_L, 1, 0, 0)) {
printf("Error calling Memory Watch Callback for %s: %s\n",
printf("Error calling WatchForCode Callback for %s: %s\n",
pair.first.c_str(), lua_tostring(_L, -1));
lua_pop(_L, 1);
return;
Expand Down

0 comments on commit 8c5ec47

Please sign in to comment.