diff options
author | sfan5 <sfan5@live.de> | 2019-11-08 20:18:41 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2019-11-09 16:08:38 +0100 |
commit | b1f2a693820537c6ecd47b84056da136e2f9f563 (patch) | |
tree | 77699b68ef46d93b7f880ace49b976d7c359b7e4 /clientmods/preview/example.lua | |
parent | 82a2e02323615473fc3039508b4c4529591e27d9 (diff) | |
download | minetest-b1f2a693820537c6ecd47b84056da136e2f9f563.tar.gz minetest-b1f2a693820537c6ecd47b84056da136e2f9f563.tar.bz2 minetest-b1f2a693820537c6ecd47b84056da136e2f9f563.zip |
Introduce get_modpath() for CSM
Diffstat (limited to 'clientmods/preview/example.lua')
-rw-r--r-- | clientmods/preview/example.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clientmods/preview/example.lua b/clientmods/preview/example.lua index 2f661c073..41dc3b284 100644 --- a/clientmods/preview/example.lua +++ b/clientmods/preview/example.lua @@ -1,2 +1,2 @@ print("Loaded example file!, loading more examples") -dofile("preview:examples/first.lua") +dofile(core.get_modpath(core.get_current_modname()) .. "examples/first.lua") |