From 682cefb90274ff61c10d86c034a919b3c20766d6 Mon Sep 17 00:00:00 2001 From: Aaron Griffith Date: Tue, 20 Mar 2012 00:24:53 -0300 Subject: [PATCH] changed _load_image to self.load_image in textures.py (thanks Nightgunner5) --- overviewer_core/textures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overviewer_core/textures.py b/overviewer_core/textures.py index db0a2ce..42d07a7 100644 --- a/overviewer_core/textures.py +++ b/overviewer_core/textures.py @@ -290,7 +290,7 @@ class Textures(object): if hasattr(self, "lightcolor"): return self.lightcolor try: - lightcolor = list(_load_image("light_normal.png").getdata()) + lightcolor = list(self.load_image("light_normal.png").getdata()) except Exception: logging.warning("Light color image could not be found.") lightcolor = None