about summary refs log tree commit diff stats
path: root/main.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-05-14 20:44:03 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-05-14 20:44:03 -0700
commitcd133c170f0db9e659e7ea0f166f814907f51490 (patch)
tree5b1063943b9e805247241b1b4e2452961d6be479 /main.lua
parent91f3aea0d98d6d0f805169d920542d6513529f5f (diff)
downloadtext.love-cd133c170f0db9e659e7ea0f166f814907f51490.tar.gz
.
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index 6bae19a..4a6dafc 100644
--- a/main.lua
+++ b/main.lua
@@ -86,7 +86,7 @@ function love.draw()
 
       local mx,my = coord(love.mouse.getX()-16), coord(love.mouse.getY()-line.y)
 
-      for i,shape in ipairs(line.shapes) do
+      for _,shape in ipairs(line.shapes) do
         assert(shape)
         if on_shape(mx,my, line, shape) then
           love.graphics.setColor(1,0,0)