diff options
author | cheapie <no-email-for-you@example.com> | 2024-08-20 18:39:56 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2024-08-20 18:39:56 -0500 |
commit | 070812b1c8f6c95e868c1b26f1dc53ea463c7f3e (patch) | |
tree | 5d51154cac9691b6af3390e4b8aec12e9df678b5 /controllerfw.lua | |
parent | 36081667f37c8dc351cfbcbf977731e599c83492 (diff) | |
download | celevator-070812b1c8f6c95e868c1b26f1dc53ea463c7f3e.tar celevator-070812b1c8f6c95e868c1b26f1dc53ea463c7f3e.tar.gz celevator-070812b1c8f6c95e868c1b26f1dc53ea463c7f3e.tar.bz2 celevator-070812b1c8f6c95e868c1b26f1dc53ea463c7f3e.tar.xz celevator-070812b1c8f6c95e868c1b26f1dc53ea463c7f3e.zip |
Fix license info button
This was broken by the license file name change during the ContentDB listing process
Diffstat (limited to 'controllerfw.lua')
-rw-r--r-- | controllerfw.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controllerfw.lua b/controllerfw.lua index a0de7cd..398aff7 100644 --- a/controllerfw.lua +++ b/controllerfw.lua @@ -1189,7 +1189,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 controller:;"..license.."]") |