From 070812b1c8f6c95e868c1b26f1dc53ea463c7f3e Mon Sep 17 00:00:00 2001 From: cheapie Date: Tue, 20 Aug 2024 18:39:56 -0500 Subject: Fix license info button This was broken by the license file name change during the ContentDB listing process --- dispatcherfw.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dispatcherfw.lua') diff --git a/dispatcherfw.lua b/dispatcherfw.lua index 82a4a35..97a4127 100644 --- a/dispatcherfw.lua +++ b/dispatcherfw.lua @@ -901,7 +901,7 @@ if mem.screenstate == "oobe_welcome" then fs("button[1,10;2,1;license;License Info]") fs("button[13,10;2,1;next;Next >]") elseif mem.screenstate == "oobe_license" then - local licensefile = io.open(minetest.get_modpath("celevator")..DIR_DELIM.."COPYING") + local licensefile = io.open(minetest.get_modpath("celevator")..DIR_DELIM.."LICENSE") local license = minetest.formspec_escape(licensefile:read("*all")) licensefile:close() fs("textarea[1,1;14,8;license;This applies to the whole celevator mod\\, not just this dispatcher:;"..license.."]") -- cgit v1.2.3