mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
internal/clock: Misspelling
This commit is contained in:
parent
2534b78755
commit
b6364c46fe
@ -81,7 +81,7 @@ func calcCountFromTPS(tps int64, now int64) int {
|
||||
syncWithSystemClock := false
|
||||
|
||||
// Detect whether the previous time is too old.
|
||||
// Use either a 5 ticks or 5/60 sec in the case when TPS is too big like 300 (#1444).
|
||||
// Use either 5 ticks or 5/60 sec in the case when TPS is too big like 300 (#1444).
|
||||
if diff > max(int64(time.Second)*5/tps, int64(time.Second)*5/60) {
|
||||
// The previous time is too old.
|
||||
// Let's force to sync the game time with the system clock.
|
||||
|
Loading…
Reference in New Issue
Block a user