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

Dont interrupt user playing #25

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

jaredcat
Copy link
Member

@jaredcat jaredcat commented Nov 5, 2022

Added a check so it doesn't interrupt if the user is playing

I also swapped to this plugin for vscode: "thqby.vscode-autohotkey2-lsp" and it changed a lot of autoformatting hence the large amount of line changes

This partially implements: #24

@jaredcat jaredcat requested a review from ItzNxthaniel November 5, 2022 03:16
AFB.ahk Outdated
Comment on lines 43 to 44
isUserPlaying := lastID == robloxID && A_TimeIdlePhysical < FIVE_MINS
if (robloxID && !isUserPlaying) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the main change here.
@ItzNxthaniel lets test this locally for a bit to make sure this logic is sound

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.

1 participant