diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-12-23 19:26:05 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-12-23 19:32:58 -0800 |
commit | e0448d7d7f1f6ec7ff88b222f59abe88503437e6 (patch) | |
tree | 6ffd24d059b9dc4ac0b333f835fae4c83249ef5d /main.lua | |
parent | 2b3e09ca0fadcaaeac8d563aae1baeb7e7da3754 (diff) | |
download | text.love-e0448d7d7f1f6ec7ff88b222f59abe88503437e6.tar.gz |
consistent names in a few more places
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 c078f10..8270858 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_pressed(x,y, mouse_button) end + if run.mouse_pressed then run.mouse_press(x,y, mouse_button) end elseif Current_app == 'source' then - if source.mouse_pressed then source.mouse_pressed(x,y, mouse_button) end + if source.mouse_pressed then source.mouse_press(x,y, mouse_button) end else assert(false, 'unknown app "'..Current_app..'"') end |