Skip to content

dcs-hotload 1.3.0

Choose a tag to compare

@github-actions github-actions released this 15 Oct 20:17
· 21 commits to main since this release
2dd24da
  • Hotload.callOnMain(fn) runs fn on the mission's main Lua state and returns like pcall.
    A timer armed from a script is called back on the script's coroutine and crashes DCS once that
    coroutine has been collected; set up timers, event handlers and frameworks such as Skynet inside
    callOnMain instead. The skill says so in place of its advice to cancel such a timer.
  • A self-test for callOnMain, selftest/call-on-main: a timer armed through it keeps
    beating after the ended run's coroutine has been collected. Run it after a DCS update.
  • The skill says how to drop an interrupted command: deleting only its outbox file runs it
    again; deleting both its files drops it.