fixed map bg loading

This commit is contained in:
musilto9 2020-03-05 11:05:48 +01:00
parent 43672978af
commit 077c8dfb90

View File

@ -159,8 +159,9 @@ public class WindowOfFreeMove extends JFrame {
m4.addMoveToEvent(new EventMoveToCell(4, 1, 8, 8, m1));
m4.addMoveToEvent(new EventMoveToCell(3, 3, 8, 1, m3));
m1.readMapFile("map-test");
setMap(m1);
map.readMapFile("map-test");
map.createMap();
isReadyToPaint = true;
canvas.repaint();