From 8c493a030439acdc3778c2f29097c9053b768be9 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 3 Jan 2024 09:04:58 -0800 Subject: [PATCH] use available abbreviations in example --- 0078-Example_panes | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/0078-Example_panes b/0078-Example_panes index 835c634..3731fae 100644 --- a/0078-Example_panes +++ b/0078-Example_panes @@ -237,9 +237,8 @@ Example_panes = { ' U = U + dt', ' if U < T then return end', ' U = U - T', - ' local touches = love.touch.getTouches()', - ' for _,id in ipairs(touches) do', - ' local x,y = love.touch.getPosition(id)', + ' for _,id in ipairs(touches()) do', + ' local x,y = touch(id)', ' if trails[id] then', ' table.insert(trails[id], 1, {x=x, y=y, r=100})', 'end end',