Make it work

This commit is contained in:
Hume2 2019-06-18 10:30:32 +02:00
parent ff427f26a7
commit a256cc0bd7

View File

@ -26,13 +26,8 @@ streets = {}
}
streets.forms = {}
-- rubenwardy: smartfs
if not minetest.get_modpath("smartfs") then
dofile(streets.modpath .. "/libs/smartfs/smartfs.lua")
end
-- Load forms
dofile(streets.modpath .. "/forms.lua")
--dofile(streets.modpath .. "/forms.lua")
-- Check for mods which change this mod's beahaviour
print("Streets: " .. streets.S("Checking installed mods..."))
@ -77,12 +72,12 @@ streets = {}
local mult = 10^(idp or 0)
return math.floor(num * mult + 0.5) / mult
end
minetest.register_chatcommand("streets",{
--[[ minetest.register_chatcommand("streets",{
description = streets.S("Check version of your installed StreetsMod and find information"),
func = function(name,param)
streets.forms.chatcmd:show(name);
end
})
})--]]
-- Done
print("Streets: " .. streets.S("Setup completed, have fun with StreetsMod") .. " " .. streets.version .. "!")