Skip to content
Snippets Groups Projects
Commit 3bc64feb authored by u214892's avatar u214892
Browse files

bugfix tk stuff

parent 4f81833e
No related branches found
No related tags found
No related merge requests found
...@@ -676,7 +676,8 @@ class RenderTool(object): ...@@ -676,7 +676,8 @@ class RenderTool(object):
if self.agentRenderVariant == AgentRenderVariant.BOX_ONLY: if self.agentRenderVariant == AgentRenderVariant.BOX_ONLY:
self.gl.setCellOccupied(iAgent, *(agent.position)) self.gl.setCellOccupied(iAgent, *(agent.position))
elif self.agentRenderVariant == AgentRenderVariant.ONE_STEP_BEHIND or self.agentRenderVariant == AgentRenderVariant.ONE_STEP_BEHIND_AND_BOX: elif self.agentRenderVariant == AgentRenderVariant.ONE_STEP_BEHIND or \
self.agentRenderVariant == AgentRenderVariant.ONE_STEP_BEHIND_AND_BOX: # noqa: E125
if agent.old_position is not None: if agent.old_position is not None:
position = agent.old_position position = agent.old_position
direction = agent.direction direction = agent.direction
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment