diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-12-23 20:43:30 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-12-23 20:43:30 -0800 |
commit | 7ef551b8210ecf0bfee32430f70543d68d4cc5f4 (patch) | |
tree | 3ca0dc1b139d64dff3ef77cd14f7284180b4e0ce /main.lua | |
parent | 8b9dab0c3650586053ab7aec76c8197d13993b64 (diff) | |
download | lines.love-7ef551b8210ecf0bfee32430f70543d68d4cc5f4.tar.gz |
another missed rename
Diffstat (limited to 'main.lua')
-rw-r--r-- | main.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main.lua b/main.lua index 8270858..35f4e72 100644 --- a/main.lua +++ b/main.lua @@ -227,9 +227,9 @@ end function App.mousepressed(x,y, mouse_button) --? print('mouse press', x,y) if Current_app == 'run' then - if run.mouse_pressed then run.mouse_press(x,y, mouse_button) end + if run.mouse_press then run.mouse_press(x,y, mouse_button) end elseif Current_app == 'source' then - if source.mouse_pressed then source.mouse_press(x,y, mouse_button) end + if source.mouse_press then source.mouse_press(x,y, mouse_button) end else assert(false, 'unknown app "'..Current_app..'"') end |