Fix #100: Typo in documentation

Happy 100th!
This commit is contained in:
Matthias Richter 2018-05-27 11:54:15 +02:00
parent 77bdf42c68
commit e750b7e651

View File

@ -223,7 +223,7 @@ seconds have passed.
:: ::
-- shake the camera for one second -- shake the camera for one second
local orig_x, orig_y = camera:pos() local orig_x, orig_y = camera:position()
Timer.during(1, function() Timer.during(1, function()
camera:lookAt(orig_x + math.random(-2,2), orig_y + math.random(-2,2)) camera:lookAt(orig_x + math.random(-2,2), orig_y + math.random(-2,2))
end, function() end, function()