diff --git a/init.lua b/init.lua index 95a768b..64557a0 100644 --- a/init.lua +++ b/init.lua @@ -51,7 +51,7 @@ if minetest.global_exists("sfinv") then title = "Rules", get = function(self, player, context) return sfinv.make_formspec(player, context, - "textlist[0,0;7.85,8.5;help;" .. rules.txt .. "]", false) + "textlist[0,0;12,8;help;" .. rules.txt .. "]", false, "size[12,8]") end }) end @@ -70,8 +70,8 @@ end function rules.show(player) local pname = player:get_player_name() - local fs = "size[8,8.6]bgcolor[#080808BB;true]" .. - "textlist[0.1,0.1;7.8,7.9;msg;" .. rules.txt .. ";-1;true]" + local fs = "size[12,8.6]bgcolor[#080808BB;true]" .. + "textlist[0,0;12,7.9;msg;" .. rules.txt .. ";-1;true]" if not has_password(pname) then fs = fs .. "box[4,8.1;3.1,0.7;#900]"