Display product id in log

This commit is contained in:
Shy 2024-08-26 10:29:15 +02:00
parent 224fba34bb
commit e294fcf762

4
c4mate
View file

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