This looks like it gets the terminators right.
This commit is contained in:
parent
d53bc1c54c
commit
4ff3d497b6
1 changed files with 2 additions and 2 deletions
|
@ -598,8 +598,8 @@ def buildtravel(locs, objs, voc):
|
|||
if loc != oldloc:
|
||||
tkey.append(len(travel))
|
||||
oldloc = loc
|
||||
if travel:
|
||||
travel[-1] *= -1
|
||||
elif travel:
|
||||
travel[-1] *= -1
|
||||
while rule:
|
||||
travel.append(rule.pop(0) + newloc * 1000)
|
||||
travel[-1] *= -1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue