Skip to content

Commit

Permalink
Fixed issue with camera.set_zoom
Browse files Browse the repository at this point in the history
  • Loading branch information
britzl committed Mar 31, 2018
1 parent 375c00a commit a23fc44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orthographic/camera.lua
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ end
function M.set_zoom(camera_id, zoom)
assert(camera_id, "You must provide a camera id")
assert(zoom, "You must provide a zoom level")
msg.post(cameras[camera_id], "zoom_to", { zoom = zoom })
msg.post(cameras[camera_id].url, "zoom_to", { zoom = zoom })
end


Expand Down

0 comments on commit a23fc44

Please sign in to comment.