Fix trade function (again)

This commit is contained in:
mez 2025-06-03 07:07:30 +01:00
parent 44b2c1c05e
commit 6723b8a21e

View file

@ -1926,6 +1926,8 @@ def maketrade():
outc.extend(mptc)
else:
trylowch = True
else:
trylowch = False
if trylowch:
inc.extend(lpwc)
if len(inc) > len(outc):
@ -1996,6 +1998,8 @@ def maketrade():
outs.extend(mpts)
else:
trylowsp = True
else:
trylowsp = False
if trylowsp:
ins.extend(lpws)
if len(ins) > len(outs):