maybe its fixed now
This commit is contained in:
@@ -181,16 +181,16 @@ local function newdesign()
|
|||||||
if keys.getName(event[2]) == "e" and currentfloor > 1 then -- go down
|
if keys.getName(event[2]) == "e" and currentfloor > 1 then -- go down
|
||||||
currentfloor = currentfloor - 1
|
currentfloor = currentfloor - 1
|
||||||
end
|
end
|
||||||
if keys.getName(event[2]) == "w" and camy < dimensions["z"] then -- pan up
|
if keys.getName(event[2]) == "s" and camy < dimensions["z"] then -- pan up
|
||||||
camy = camy + 1
|
camy = camy + 1
|
||||||
end
|
end
|
||||||
if keys.getName(event[2]) == "s" and camy > 1 then -- pan down
|
if keys.getName(event[2]) == "w" and camy > 0 then -- pan down
|
||||||
camy = camy - 1
|
camy = camy - 1
|
||||||
end
|
end
|
||||||
if keys.getName(event[2]) == "a" and camx < dimensions["x"] then -- pan left
|
if keys.getName(event[2]) == "a" and camx < dimensions["x"] then -- pan left
|
||||||
camx = camx + 1
|
camx = camx + 1
|
||||||
end
|
end
|
||||||
if keys.getName(event[2]) == "d" and camx > 1 then -- pan right
|
if keys.getName(event[2]) == "d" and camx > 0 then -- pan right
|
||||||
camx = camx - 1
|
camx = camx - 1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user