Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing #41 - copy and paste error from make_room to handle_move resul… #43

Merged
merged 1 commit into from
Feb 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions prs-mapper.lua
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ local function handle_move()
local exit_coords_delta = move_vectors[stubmap[v]]
local exit_room_id = get_room_id_by_coordinates(info.area, coords[1] + exit_coords_delta[1], coords[2] + exit_coords_delta[2], coords[3] + exit_coords_delta[3])
if exit_room_id ~= nill then
connectExitStub(room_id, dir)
connectExitStub(room_id, v)
end
end
end
Expand Down Expand Up @@ -369,4 +369,4 @@ map.events.centering_id = registerAnonymousEventHandler("gmcp.Char.room", functi
if room_id ~= nil then
centerview(room_id)
end
end)
end)