lua_api.txt: Refine 'Item types' for 4e2eeee (#7648)
[oweals/minetest.git] / builtin / fstk / tabview.lua
index 72551afd7e3ca5ed045b81e2a997808ed369d114..3715e231b96d2a7764ddbaee02d23a3cbd7a8096 100644 (file)
@@ -167,7 +167,7 @@ local function switch_to_tab(self, index)
        self.current_tab = self.tablist[index].name
 
        if (self.autosave_tab) then
-               core.setting_set(self.name .. "_LAST",self.current_tab)
+               core.settings:set(self.name .. "_LAST",self.current_tab)
        end
 
        -- call for tab to enter