mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Use "core" namespace internally
This commit is contained in:
@@ -5,13 +5,11 @@
|
||||
-- before loading and running any mods.
|
||||
--
|
||||
|
||||
local core = minetest or engine
|
||||
minetest = core
|
||||
|
||||
-- Initialize some very basic things
|
||||
print = core.debug
|
||||
math.randomseed(os.time())
|
||||
os.setlocale("C", "numeric")
|
||||
minetest = core
|
||||
|
||||
-- Load other files
|
||||
local scriptdir = core.get_builtin_path()..DIR_DELIM
|
||||
|
Reference in New Issue
Block a user