Skip to content

nil value referenced #47

@sturlaj

Description

@sturlaj

Very small issue, but recording it nevertheless. It seems like the script throws an error for missions without units (or in observer mode)

2024-05-20 12:25:34.635 ERROR Lua::Config (Main): Call error LuaExportAfterNextFrame:[string "C:\Users\sturla\Saved Games\DCS.openbeta\Scripts/TelemFFB.lua"]:236: attempt to index local 'wind' (a nil value)
stack traceback:
[C]: ?
[C]: in function 'data_send'
[string "C:\Users\sturla\Saved Games\DCS.openbeta\Scripts/TelemFFB.lua"]:1097: in function 'AfterNextFrame'
[string "C:\Users\sturla\Saved Games\DCS.openbeta\Scripts/TelemFFB.lua"]:1132: in function <[string "C:\Users\sturla\Saved Games\DCS.openbeta\Scripts/TelemFFB.lua"]:1131>.

Noticed it when running some of the MOOSE demo missions. Example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions