diff --git a/main.lua b/main.lua index 2336f0b..f2b4c21 100644 --- a/main.lua +++ b/main.lua @@ -10,7 +10,7 @@ mp={ {0,0,0,0,0,0,0,"e",0}, {0,0,0,0,1,1,1,1,1}, {0,0,0,0,0,0,0,0,0}, - {1,1,1,1,0,0,0,0,0}, + {2,2,2,2,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0} } diff --git a/maploader.lua b/maploader.lua index 3f709f1..3776b55 100644 --- a/maploader.lua +++ b/maploader.lua @@ -25,7 +25,7 @@ function loadmap(map) if x~=0 and type(x)=="number" then t:new(x, (c*32)-32, (q*32)-32) elseif x=="e" then - e:new(0,0,(c*32)-32,(q*32)-32,3) + e:new((c*32)-32,(q*32)-32,32,32,3) print(tostring(q..c)) end end