From 11a7b884345c5b0ab2278255674e70c458ca9c77 Mon Sep 17 00:00:00 2001
From: PilzAdam <pilzadam@minetest.net>
Date: Sat, 6 Dec 2014 12:00:58 +0100
Subject: [PATCH] Fix visibility of global/local dye tables

---
 mods/dye/init.lua | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/mods/dye/init.lua b/mods/dye/init.lua
index 810502d2..3e827446 100644
--- a/mods/dye/init.lua
+++ b/mods/dye/init.lua
@@ -14,7 +14,7 @@
 -- })
 
 -- Other mods can use these for looping through available colors
-local dye = {}
+dye = {}
 dye.basecolors = {"white", "grey", "black", "red", "yellow", "green", "cyan", "blue", "magenta"}
 dye.excolors = {"white", "lightgrey", "grey", "darkgrey", "black", "red", "orange", "yellow", "lime", "green", "aqua", "cyan", "sky_blue", "blue", "violet", "magenta", "red_violet"}
 
@@ -138,8 +138,3 @@ for one,results in pairs(dyelocal.mixes) do
 		})
 	end
 end
-
--- Hide dyelocal
-dyelocal = nil
-
--- EOF
-- 
GitLab