diff orpg/mapper/background_handler.py @ 76:37a11fea3304 ornery-dev

More clean up. Images now posts a Chat Info post if image doesn't load.
author sirebral
date Sat, 22 Aug 2009 04:02:14 -0500
parents c54768cffbd4
children 763a04270cf6
line wrap: on
line diff
--- a/orpg/mapper/background_handler.py	Fri Aug 21 21:49:42 2009 -0500
+++ b/orpg/mapper/background_handler.py	Sat Aug 22 04:02:14 2009 -0500
@@ -35,10 +35,12 @@
 import os
 from base import *
 
+from orpg.tools.orpg_settings import settings
+
 class background_handler(base_layer_handler):
     def __init__(self, parent, id, canvas):
         base_layer_handler.__init__(self, parent, id, canvas)
-        self.settings = self.canvas.settings
+        self.settings = settings
 
     def build_ctrls(self):
         base_layer_handler.build_ctrls(self)