use available abbreviations in example

This commit is contained in:
Kartik K. Agaram 2024-01-03 09:04:58 -08:00
parent dc1109202b
commit 8c493a0304
1 changed files with 2 additions and 3 deletions

View File

@ -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',