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

Play Sound for each second on countdown #3

Merged
merged 3 commits into from
Mar 29, 2024
Merged

Conversation

FFritzl
Copy link
Contributor

@FFritzl FFritzl commented Mar 26, 2024

No description provided.

@ipsvn
Copy link
Owner

ipsvn commented Mar 26, 2024

Hello,

do you reckon you could move the timer management stuff into the event handler rather than the existing timer? It seems unnecessary/inefficient to do it repeatedly in the 0.1f timer.
Also, ideally this would be behind a config option (for the sound file, just make it null for disable maybe)?

@FFritzl
Copy link
Contributor Author

FFritzl commented Mar 27, 2024

I moved the timer management to eventhandler and i think i have done the config part right. atleast it works and is disabled on default.

ChaseModConfig.cs Outdated Show resolved Hide resolved
RoundStartFreezeTimeManager.cs Outdated Show resolved Hide resolved
RoundStartFreezeTimeManager.cs Outdated Show resolved Hide resolved
@ipsvn ipsvn merged commit f092286 into ipsvn:master Mar 29, 2024
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