Skip to content

GAMEPLAY | When Unit Movement is called several times the unit moves diagonally #4

Description

@ADGLx

Describe the bug
Whenever the unit is prompted to move several times, the unit does irregular movement. This causes the AI to move irregularly

Steps to Repro

  1. Proceed to gameplay
  2. Move Unit to any tile.
  3. While the Unit is moving, prompt the Unit to move to another tile.

Expected behavior
The Unit stops and then moves to another tile without moving diagonally.

Notes
It affects the way the AI moves a lot, because the AI is constantly calling the Move function.

Affected Version
0.1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions