Skip to content

Commit

Permalink
check metric var
Browse files Browse the repository at this point in the history
  • Loading branch information
BuckarooBanzay committed Jun 15, 2022
1 parent f39ef6f commit 249dbf9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bridge_tx.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ end

-- queues a command to send to the ui
function mtui.send_command(cmd)
metric.inc()
if metric then
metric.inc()
end
table.insert(commands, cmd)

if not send_triggered then
Expand Down

0 comments on commit 249dbf9

Please sign in to comment.