another missed rename

This commit is contained in:
Kartik K. Agaram 2022-12-23 20:43:30 -08:00
parent 8b9dab0c36
commit 7ef551b821
1 changed files with 2 additions and 2 deletions

View File

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