0

changed _load_image to self.load_image in textures.py (thanks Nightgunner5)

This commit is contained in:
Aaron Griffith
2012-03-20 00:24:53 -03:00
parent ff0f4fe46e
commit 682cefb902

View File

@@ -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