Fix a typo and use proper deprecation notification system
authorest31 <MTest31@outlook.com>
Mon, 19 Sep 2016 10:11:31 +0000 (12:11 +0200)
committerest31 <MTest31@outlook.com>
Mon, 19 Sep 2016 10:14:06 +0000 (12:14 +0200)
Fix a typo pointed out by @thecow275.

Also, use the deprecated notification system which respects the
deprecated_lua_api_handling setting.

builtin/mainmenu/tab_texturepacks.lua

index 4614a29744662ceaa2f574cf41967eeaf122dba1..4638beaa15a26a06b5cdaebe8ba3add50b3c81ba 100644 (file)
@@ -73,7 +73,7 @@ local function get_formspec(tabview, name, tabdata)
        if not file_exists(infofile) then
                infofile = current_texture_path .. DIR_DELIM .. "info.txt"
                if file_exists(infofile) then
-                       core.log("info.txt is depreciated. description.txt should be used instead.")
+                       core.log("deprecated", "info.txt is deprecated. description.txt should be used instead.")
                end
        end