Use all caps in option names

This commit is contained in:
4Evergreen4 2016-01-14 17:24:37 -05:00
parent 198d6e53c3
commit 193b5dcd5b
2 changed files with 4 additions and 4 deletions

View File

@ -153,7 +153,7 @@ minetest.register_abm({
-- Compatibility with stairsplus
--
if minetest.get_modpath("moreblocks") and enable_stairsplus then
if minetest.get_modpath("moreblocks") and ENABLE_STAIRSPLUS then
register_stair_slab_panel_micro("quartz", "block", "quartz:block",
{cracky=3},
{"quartz_block.png"},
@ -187,7 +187,7 @@ end
-- Deprecated
--
if enable_horizontal_pillar then
if ENABLE_HORIZONTAL_PILLAR then
-- Quartz Pillar (horizontal)
minetest.register_node("quartz:pillar_horizontal", {
description = "Quartz Pillar Horizontal",

View File

@ -1,7 +1,7 @@
-- Set this to true to allow usage of the stairsplus mod in moreblocks
enable_stairsplus = false
ENABLE_STAIRSPLUS = false
-- This enables the old horizontal pillar block(deprecated, be sure to convert them back to normal pillars)
enable_horizontal_pillar = true
ENABLE_HORIZONTAL_PILLAR = true