Missed one warning message.
parent
4e8ee44f62
commit
2878151a3a
4
init.lua
4
init.lua
|
@ -6,6 +6,8 @@
|
||||||
-- by David G (kestral246@gmail.com)
|
-- by David G (kestral246@gmail.com)
|
||||||
-- and by Mikola
|
-- and by Mikola
|
||||||
|
|
||||||
|
-- Version 2.0-beta-9 - 2019-02-07
|
||||||
|
-- Remove undeclared global variable warning when angledstairs mod not used.
|
||||||
-- Version 2.0-beta-8 - 2019-02-04
|
-- Version 2.0-beta-8 - 2019-02-04
|
||||||
-- Optimize for Minetest 5.0+ only.
|
-- Optimize for Minetest 5.0+ only.
|
||||||
-- Add support for client-side translations.
|
-- Add support for client-side translations.
|
||||||
|
@ -102,7 +104,7 @@ local lighting_search_radius = 1
|
||||||
|
|
||||||
-- Angledstairs mod gives much nicer bike path diagonal slopes.
|
-- Angledstairs mod gives much nicer bike path diagonal slopes.
|
||||||
local angledstairs_exists = false
|
local angledstairs_exists = false
|
||||||
if angledstairs ~= nil then
|
if minetest.registered_nodes["angledstairs:angled_slab_left_cobble"] then
|
||||||
angledstairs_exists = true
|
angledstairs_exists = true
|
||||||
end
|
end
|
||||||
-- End of configuration
|
-- End of configuration
|
||||||
|
|
Loading…
Reference in New Issue