Make it work
This commit is contained in:
parent
ff427f26a7
commit
a256cc0bd7
@ -25,14 +25,9 @@ streets = {}
|
||||
fin = 0
|
||||
}
|
||||
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 .. "!")
|
||||
|
Loading…
x
Reference in New Issue
Block a user