]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/announcer.qc
Fixed issue where round countdown would start one second too late
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / announcer.qc
index a0e9b294cd5dec80ca358a709ae50d1ca7f53ca3..109ee5ac1c25cb0e5529cadfd46a527f616a964f 100644 (file)
@@ -107,7 +107,7 @@ void Announcer_Gamestart()
                        if(time > announcer_countdown.nextthink) // don't play it again if countdown was already going
                                Local_Notification(MSG_ANNCE, ANNCE_PREPARE);
 
-                       announcer_countdown.nextthink = startTime - floor(startTime - time); //synchronize nextthink to startTime
+                       announcer_countdown.nextthink = startTime - floor(startTime - time + 0.5); //synchronize nextthink to startTime
                }
        }