diff --git a/src/logic/scripting/lua/libs/libitem.cpp b/src/logic/scripting/lua/libs/libitem.cpp index 099cbba4f..5a4ef4de1 100644 --- a/src/logic/scripting/lua/libs/libitem.cpp +++ b/src/logic/scripting/lua/libs/libitem.cpp @@ -60,4 +60,5 @@ const luaL_Reg itemlib[] = { {"stack_size", lua::wrap}, {"defs_count", lua::wrap}, {"icon", lua::wrap}, + {"caption", lua::wrap}, {NULL, NULL}};