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 going to custom start not stopping timer #442

Merged
merged 2 commits into from
Jan 10, 2023

Conversation

zer0k-z
Copy link
Contributor

@zer0k-z zer0k-z commented Jan 9, 2023

If you !ssp and setup timer tech for a button course, then start a course using zones, then do !start, the timer for the zone course does not get stopped. Caused by #346.

@@ -37,6 +37,11 @@ bool GetHasVirtualEndButton(int client)
return hasVirtualEndButton[client];
}

bool GetVirtualStartCourse(int client)
{
return virtualStartCourse[client];
Copy link
Contributor

@walliski walliski Jan 9, 2023

Choose a reason for hiding this comment

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

This is an int, not a bool, right - so return type mismatches?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

whoops yeah. I'm not too fond of this PR though, because it kinda disables the behavior in #346 if there's a timer tech around, so consider this a temporary fix

@zealain zealain merged commit c2fdbce into KZGlobalTeam:dev Jan 10, 2023
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.

3 participants