diff --git a/DOCS/man/lua.rst b/DOCS/man/lua.rst index bd5a907d5b..a5f8923218 100644 --- a/DOCS/man/lua.rst +++ b/DOCS/man/lua.rst @@ -518,7 +518,7 @@ The ``mp`` module is preloaded, although it can be loaded manually with seconds = 0 timer = mp.add_periodic_timer(1, function() print("called every second") - # stop it after 10 seconds + -- stop it after 10 seconds seconds = seconds + 1 if seconds >= 10 then timer:kill()