diff Devian.lua @ 24:4085930d5f09 v1.4.2

debugged last commit now that servers are back up
author Nenue
date Wed, 23 Dec 2015 17:11:05 -0500
parents 2c2a84163606
children b0e8bd30575f
line wrap: on
line diff
--- 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