Fix trade function (yet again)
This commit is contained in:
parent
a03f7b3aa9
commit
b059e02eff
1 changed files with 4 additions and 0 deletions
4
tools.py
4
tools.py
|
@ -1904,6 +1904,8 @@ def maketrade():
|
|||
outc.extend(hptc)
|
||||
else:
|
||||
trymediumch = True
|
||||
else:
|
||||
trymediumch = True
|
||||
if trymediumch:
|
||||
inc.extend(mpwc)
|
||||
if len(inc) > len(outc):
|
||||
|
@ -1976,6 +1978,8 @@ def maketrade():
|
|||
outs.extend(hpts)
|
||||
else:
|
||||
trymediumsp = True
|
||||
else:
|
||||
trymediumsp = True
|
||||
if trymediumsp:
|
||||
ins.extend(mpws)
|
||||
if len(ins) > len(outs):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue