From e294fcf7622fa9b2b75a348bf15fe967e6b898ad Mon Sep 17 00:00:00 2001 From: Shy Date: Mon, 26 Aug 2024 10:29:15 +0200 Subject: [PATCH] Display product id in log --- c4mate | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c4mate b/c4mate index 7c746f7..c229b01 100755 --- a/c4mate +++ b/c4mate @@ -189,8 +189,8 @@ function MatePad:print_log(log) event = log[i] if event.method == "buy" or event.method == "recharge" then print(string.format( - "[%s] Bought %s", - event.time, event.name + "[%s] Bought %s (#%d)", + event.time, event.name, event.parameter )) elseif event.method == "set_balance" then print(string.format(