mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-03 05:48:42 +03:00
Fix typo in the 'Using the system clock to sync' section (#3320)
This commit is contained in:
@@ -50,7 +50,7 @@ Add these two and it's possible to guess almost exactly when sound or music will
|
||||
var time = (OS.get_ticks_usec() - time_begin) / 1000000.0
|
||||
# Compensate for latency.
|
||||
time -= time_delay
|
||||
# May be below 0 (did not being yet).
|
||||
# May be below 0 (did not begin yet).
|
||||
time = max(0, time)
|
||||
print("Time is: ", time)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user