about summary refs log tree commit diff stats
path: root/drawing.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-07-22 02:29:23 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-07-22 02:29:23 -0700
commitb7a67ab1e962ebc03b297f0ca220a0a97b8c5c3a (patch)
tree7d0496a57829c008984a59c415762a32569c6be5 /drawing.lua
parent0251b3f0c2b71a880734d0011c272cadaf3d5d51 (diff)
downloadlines.love-b7a67ab1e962ebc03b297f0ca220a0a97b8c5c3a.tar.gz
bugfix: online help
Broken in the commit before last.
Diffstat (limited to 'drawing.lua')
-rw-r--r--drawing.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/drawing.lua b/drawing.lua
index 8d94bdd..180e0a7 100644
--- a/drawing.lua
+++ b/drawing.lua
@@ -19,13 +19,13 @@ function Drawing.draw(State, line_index, y)
     end
 
     if App.mouse_down(1) and love.keyboard.isDown('h') then
-      draw_help_with_mouse_pressed(State, line)
+      draw_help_with_mouse_pressed(State, line_index)
       return
     end
   end
 
   if line.show_help then
-    draw_help_without_mouse_pressed(State, line)
+    draw_help_without_mouse_pressed(State, line_index)
     return
   end