diff --git a/src/modules/graphics/wrap_Graphics.cpp b/src/modules/graphics/wrap_Graphics.cpp index eb4367b68..4f5f78283 100644 --- a/src/modules/graphics/wrap_Graphics.cpp +++ b/src/modules/graphics/wrap_Graphics.cpp @@ -290,7 +290,7 @@ int w_setCanvas(lua_State *L) targets.colors.emplace_back(luax_checkcanvas(L, -1), 0); if (targets.colors.back().canvas->getTextureType() != TEXTURE_2D) - return luaL_error(L, "The table-of-tables variant of setCanvas must be used with non-2D Canvases."); + return luaL_error(L, "Non-2D canvases must use the table-of-tables variant of setCanvas."); } lua_pop(L, 1);