diff options
| author | cheapie <no-email-for-you@example.com> | 2025-12-13 12:42:58 -0600 |
|---|---|---|
| committer | cheapie <no-email-for-you@example.com> | 2025-12-13 12:42:58 -0600 |
| commit | 8869adfb33e0c0109dad606331fe239b1af6e75f (patch) | |
| tree | 92adbf8d69f562d74993cad3fd8398b59baadd79 /dispatcherfw.lua | |
| parent | aaeb74b01eb0602ec79974229feba004a09c86b5 (diff) | |
| download | celevator-8869adfb33e0c0109dad606331fe239b1af6e75f.tar celevator-8869adfb33e0c0109dad606331fe239b1af6e75f.tar.gz celevator-8869adfb33e0c0109dad606331fe239b1af6e75f.tar.bz2 celevator-8869adfb33e0c0109dad606331fe239b1af6e75f.tar.xz celevator-8869adfb33e0c0109dad606331fe239b1af6e75f.zip | |
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*
Diffstat (limited to 'dispatcherfw.lua')
| -rw-r--r-- | dispatcherfw.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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.."]") |
