diff options
author | Alexander Weber <web.alexander@web.de> | 2018-02-14 02:19:15 +0100 |
---|---|---|
committer | sofar <sofar+github@foo-projects.org> | 2018-02-19 11:18:18 -0800 |
commit | 49620617524b626207fbf025474be6db4404e470 (patch) | |
tree | d4940de3e267b30cedbcb51bae47b1e42765b139 /sfinv_page.lua | |
parent | 4704e17dd2a833ebdd8e8f7081e11b05b6cdae4a (diff) |
moved the chat- and UI context to ram
Diffstat (limited to 'sfinv_page.lua')
-rw-r--r-- | sfinv_page.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sfinv_page.lua b/sfinv_page.lua index e90dd38..f8d627b 100644 --- a/sfinv_page.lua +++ b/sfinv_page.lua @@ -4,7 +4,7 @@ local S = skins.S local function get_formspec(player, context) local skin = skins.get_player_skin(player) local formspec = skins.get_skin_info_formspec(skin) - formspec = formspec..skins.get_skin_selection_formspec(context, 4) + formspec = formspec..skins.get_skin_selection_formspec(player, context, 4) return formspec end @@ -12,7 +12,6 @@ sfinv.register_page("skins:overview", { title = "Skins", get = function(self, player, context) -- collect skins data - context = skins.rebuild_formspec_context(player, context) return sfinv.make_formspec(player, context, get_formspec(player, context)) end, on_player_receive_fields = function(self, player, context, fields) |