summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Irwin <antumdeluge@gmail.com>2017-06-07 02:17:00 -0700
committerLNJ <git@lnj.li>2017-06-07 11:17:00 +0200
commit5c9a7bafd0a2c804064e137f3a7cb11321e80a93 (patch)
tree35ed3aa08c2394a497b12ea9580777612e13e9a6
parent7063e2b7b4f53cae1db8a98ab2d2463abe362612 (diff)
Replace deprecated method 'setting_getbool' with 'settings:get_bool' (#8)
-rwxr-xr-xinit.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.lua b/init.lua
index 2df4b18..fd66846 100755
--- a/init.lua
+++ b/init.lua
@@ -47,9 +47,9 @@ else
end
-drawers.enable_1x1 = not core.setting_getbool("drawers_disable_1x1")
-drawers.enable_1x2 = not core.setting_getbool("drawers_disable_1x2")
-drawers.enable_2x2 = not core.setting_getbool("drawers_disable_2x2")
+drawers.enable_1x1 = not core.settings:get_bool("drawers_disable_1x1")
+drawers.enable_1x2 = not core.settings:get_bool("drawers_disable_1x2")
+drawers.enable_2x2 = not core.settings:get_bool("drawers_disable_2x2")
--