Poprawieni bug z przeciwnikami
This commit is contained in:
parent
1a041ce6bb
commit
8bbc0b5e67
2
main.lua
2
main.lua
@ -10,7 +10,7 @@ mp={
|
|||||||
{0,0,0,0,0,0,0,"e",0},
|
{0,0,0,0,0,0,0,"e",0},
|
||||||
{0,0,0,0,1,1,1,1,1},
|
{0,0,0,0,1,1,1,1,1},
|
||||||
{0,0,0,0,0,0,0,0,0},
|
{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},
|
||||||
{0,0,0,0,0,0,0,0,0}
|
{0,0,0,0,0,0,0,0,0}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -25,7 +25,7 @@ function loadmap(map)
|
|||||||
if x~=0 and type(x)=="number" then
|
if x~=0 and type(x)=="number" then
|
||||||
t:new(x, (c*32)-32, (q*32)-32)
|
t:new(x, (c*32)-32, (q*32)-32)
|
||||||
elseif x=="e" then
|
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))
|
print(tostring(q..c))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user