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* --- dispatcherfw.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dispatcherfw.lua') diff --git a/dispatcherfw.lua b/dispatcherfw.lua index 27066b4..ef891a6 100644 --- a/dispatcherfw.lua +++ b/dispatcherfw.lua @@ -936,7 +936,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 dispatcher:;"..license.."]") -- cgit v1.2.3