From e750b7e651b1630ad381c46cb36eb2bb78475a17 Mon Sep 17 00:00:00 2001 From: Matthias Richter Date: Sun, 27 May 2018 11:54:15 +0200 Subject: [PATCH] Fix #100: Typo in documentation Happy 100th! --- docs/timer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/timer.rst b/docs/timer.rst index 0106efe..1a54298 100644 --- a/docs/timer.rst +++ b/docs/timer.rst @@ -223,7 +223,7 @@ seconds have passed. :: -- shake the camera for one second - local orig_x, orig_y = camera:pos() + local orig_x, orig_y = camera:position() Timer.during(1, function() camera:lookAt(orig_x + math.random(-2,2), orig_y + math.random(-2,2)) end, function()