From 52c30b262986253f1d252acd60cef97e63fbae27 Mon Sep 17 00:00:00 2001 From: tacotexmex Date: Wed, 12 Jul 2017 18:45:05 +0200 Subject: [PATCH] Bug causing monoids not to be used removed --- init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index 0fcfbb7..81217a5 100644 --- a/init.lua +++ b/init.lua @@ -20,9 +20,9 @@ local sprinting = false if dir == nil then dir = true end if stamina ~= false then stamina = true end if starve == nil then starve = true end -if not minetest.get_modpath("hudbars") then hudbars = false end -if not minetest.get_modpath("hbhunger") then starve = false end -if not minetest.get_modpath("player_monoids") then monoids = false end +if minetest.get_modpath("hudbars") ~= nil then hudbars = true end +if minetest.get_modpath("hbhunger") ~= nil then starve = true end +if minetest.get_modpath("player_monoids") ~= nil then monoids = true end -- Functions