fix: call recursive function properly
This commit is contained in:
parent
56c8335161
commit
65c3b4fe20
1 changed files with 1 additions and 0 deletions
|
|
@ -80,6 +80,7 @@ local order = {
|
||||||
amt_made = amt_made + count
|
amt_made = amt_made + count
|
||||||
return make_order (amt_to_make, amt_made)
|
return make_order (amt_to_make, amt_made)
|
||||||
end
|
end
|
||||||
|
return make_order (amt, 0)
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue