summaryrefslogtreecommitdiff
path: root/src/editorui/editormain.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/editorui/editormain.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/editorui/editormain.py b/src/editorui/editormain.py
index c20cc47..1cd2948 100644
--- a/src/editorui/editormain.py
+++ b/src/editorui/editormain.py
@@ -236,7 +236,7 @@ class KPMapScene(QtGui.QGraphicsScene):
baseDestX = drawLeft * 24
rows = layer.cache
- tileset = KP.map.loadedTilesets[layer.tileset]
+ tileset = KP.tileset(layer.tileset)
tileList = tileset.tiles
for y in xrange(drawTop, drawBottom):
@@ -280,7 +280,7 @@ class KPMapScene(QtGui.QGraphicsScene):
baseDestX = drawLeft * 24
rows = pnLayer.cache
- tileset = KP.map.loadedTilesets[pnLayer.tileset]
+ tileset = KP.tileset(pnLayer.tileset)
tileList = tileset.tiles
for y in xrange(drawTop, drawBottom):