diff pyntnclick/scenewidgets.py @ 578:356795038b87 pyntnclick

Remove a couple of uses os DEBUG.
author Simon Cross <hodgestar+bzr@gmail.com>
date Sat, 11 Feb 2012 16:17:52 +0200
parents 1b1ab71535bd
children 44d4e3020874
line wrap: on
line diff
--- a/pyntnclick/scenewidgets.py	Sat Feb 11 16:04:45 2012 +0200
+++ b/pyntnclick/scenewidgets.py	Sat Feb 11 16:17:52 2012 +0200
@@ -10,10 +10,6 @@
 from pyntnclick.state import Thing
 from pyntnclick.widgets import BoomLabel
 
-# XXX: Need a way to get at the constants.
-from pyntnclick.constants import GameConstants
-DEBUG = GameConstants().debug
-
 
 class Interact(object):
 
@@ -141,9 +137,8 @@
         self.interacts = {
                 'description': InteractRectUnion(areas)
                 }
-        if DEBUG:
-            # Individual colors to make debugging easier
-            self._interact_hilight_color = Color(THECOLORS.keys()[number])
+        # Individual colors to make debugging easier
+        self._interact_hilight_color = Color(THECOLORS.keys()[number])
 
     def get_description(self):
         return self.description