mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Introduce get_modpath() for CSM
This commit is contained in:
parent
82a2e02323
commit
b1f2a69382
5 changed files with 23 additions and 4 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue