From 8869adfb33e0c0109dad606331fe239b1af6e75f Mon Sep 17 00:00:00 2001 From: cheapie Date: Sat, 13 Dec 2025 12:42:58 -0600 Subject: Remove deprecated DIR_DELIM usage Apparently "/" gets translated to the right path separator for the current OS. This seems to not be documented anywhere, but DIR_DELIM wasn't either, so... *shrug* --- controllerfw.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'controllerfw.lua') diff --git a/controllerfw.lua b/controllerfw.lua index d04ff91..0ac2878 100644 --- a/controllerfw.lua +++ b/controllerfw.lua @@ -1302,7 +1302,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(core.get_modpath("celevator")..DIR_DELIM.."LICENSE") + local licensefile = io.open(core.get_modpath("celevator").."/LICENSE") local license = core.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.."]") -- cgit v1.2.3