Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a few teleportation glitches #4262

Merged
merged 3 commits into from
Oct 11, 2022
Merged

Conversation

Garanas
Copy link
Member

@Garanas Garanas commented Oct 10, 2022

Fixes a few teleportation glitches by checking if the unit can still teleport at the start and end of the teleportation sequence.

ACU starts with teleportation enhancement

ACU queues transport order, then teleportation order
Transport drops anywhere
ACU initiates the teleport but it able to do whatever it feels like
ACU starts with teleportation enhancement

ACU queues up a move order, queues up switching the enhancement, queues up a move order and then a teleport order
ACU moves, switches the enhancement, moves and then teleports even if it lost the enhancement
ACU starts with teleportation enhancement

ACU queues up the teleportation too close to the map border, ACU ends up outside the map being un targetable.

@Garanas Garanas merged commit e75c48a into deploy/fafdevelop Oct 11, 2022
@Garanas Garanas deleted the fix/teleport-glitches branch October 11, 2022 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant