# HG changeset patch # User Nenue # Date 1450908665 18000 # Node ID 4085930d5f09b54e81bbbcac1aa5e996877c0e25 # Parent 2c2a84163606b13230127cec8c66176b5e24eee3 debugged last commit now that servers are back up diff -r 2c2a84163606 -r 4085930d5f09 Devian.lua --- a/Devian.lua Wed Dec 23 08:28:12 2015 -0500 +++ b/Devian.lua Wed Dec 23 17:11:05 2015 -0500 @@ -247,7 +247,7 @@ db.current_channel = c.index for _, part in pairs(c.border) do - part:SetTexture(unpack(db.front_border)) + part:SetTexture(unpack(db.frontborder)) end for id, bc in pairs(D.console) do @@ -261,7 +261,7 @@ bc.out.backdrop:SetBlendMode(db.backblend) for _, part in pairs(bc.border) do - part:SetTexture(unpack(db.back_border)) + part:SetTexture(unpack(db.backborder)) end end @@ -287,9 +287,9 @@ f:Lower() f.out:SetFont(db.font, db.fontsize, db.fontoutline) if (db.current_channel == i) then - f:out:SetTexture(unpack(db.frontdrop)) + f.out.backdrop:SetTexture(unpack(db.frontdrop)) else - f:out:SetTexture(unpack(db.backdrop)) + f.out.backdrop:SetTexture(unpack(db.backdrop)) end f.Save = Console_Save @@ -328,7 +328,7 @@ -- @param Tag, signature, or numeric index of the channel to output on. Defaults to primary channel. -- @param ... Output contents. local function Message(prefix, ...) - if db.enabled then + if db.enabled == true then return D.oldprint(prefix, ...) end @@ -591,7 +591,7 @@ end if db.enabled then - for i, c in pairs(self.console) + for i, c in pairs(self.console) do self.console[i]:Hide() end end