mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 14:23:44 -07:00
under a minute announce every 10s
This commit is contained in:
parent
5a0d9e6af4
commit
19838b52f3
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ void RegisterOnInterfaceUpdateHook() {
|
|||
timer = gSaveContext.subTimerSeconds;
|
||||
}
|
||||
|
||||
if (timer > 0 && timer % 30 == 0 && timer != prevTimer) {
|
||||
if (timer > 0 && timer % (timer < 60 ? 10 : 30) == 0 && timer != prevTimer) {
|
||||
uint32_t minutes = timer / 60;
|
||||
uint32_t seconds = timer % 60;
|
||||
char* announceBuf = ttsAnnounceBuf;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue