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

Bug : Movement counter bug fix #78

Merged
merged 2 commits into from
Nov 27, 2024

Conversation

mouheb182
Copy link
Contributor

@mouheb182 mouheb182 commented Nov 26, 2024

Issue : #74
To fix the issue, I separated the moveCounter increment logic from the recursive function. The increment now occurs only when setting new movement coordinates. This ensures the counter increments correctly each time the player enters a new coordinate, accurately reflecting the number of moves made.

@mouheb182 mouheb182 changed the title Movement bug fix Bug : Movement bug fix Nov 26, 2024
@mouheb182 mouheb182 changed the title Bug : Movement bug fix Bug : Movement counter bug fix Nov 26, 2024
@SMoraisDev SMoraisDev enabled auto-merge (squash) November 27, 2024 19:05
@SMoraisDev SMoraisDev disabled auto-merge November 27, 2024 19:06
@SMoraisDev SMoraisDev merged commit 961036a into UEVE-DLL-2024-2025:main Nov 27, 2024
4 checks passed
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.

2 participants