Display product id in log
This commit is contained in:
parent
224fba34bb
commit
e294fcf762
1 changed files with 2 additions and 2 deletions
4
c4mate
4
c4mate
|
@ -189,8 +189,8 @@ function MatePad:print_log(log)
|
||||||
event = log[i]
|
event = log[i]
|
||||||
if event.method == "buy" or event.method == "recharge" then
|
if event.method == "buy" or event.method == "recharge" then
|
||||||
print(string.format(
|
print(string.format(
|
||||||
"[%s] Bought %s",
|
"[%s] Bought %s (#%d)",
|
||||||
event.time, event.name
|
event.time, event.name, event.parameter
|
||||||
))
|
))
|
||||||
elseif event.method == "set_balance" then
|
elseif event.method == "set_balance" then
|
||||||
print(string.format(
|
print(string.format(
|
||||||
|
|
Loading…
Reference in a new issue