Skip to content
  • Petr Špaček's avatar
    0bb86feb
    lua: clarify event.recurrent() API · 0bb86feb
    Petr Špaček authored and Vladimír Čunát's avatar Vladimír Čunát committed
    It was rather confusing:
    - event.after(0, ...) executed function immediatelly
    - event.recurrent(0, ...) executed function immediatelly (seemingly worked)
      but stoped after the first execution, i.e. no recurrence took place.
    0bb86feb
    lua: clarify event.recurrent() API
    Petr Špaček authored and Vladimír Čunát's avatar Vladimír Čunát committed
    It was rather confusing:
    - event.after(0, ...) executed function immediatelly
    - event.recurrent(0, ...) executed function immediatelly (seemingly worked)
      but stoped after the first execution, i.e. no recurrence took place.
Loading