metrostroi-repo/MetrostroiAddon

Doesn't work "autodrive" in signalling tool

Opened this issue · 0 comments

Describe the error
When choose "autodrive" in signalling tool a script error appears. Also there is no any options of "autodrive", so I can't take neither upps nor sppb markers

How to get:

  1. Choose the signalling tool in tools section.
  2. In drop-down list choose "autodrive".
  3. Get an error

Console output
[metrostroiaddon-dev] addons/metrostroiaddon-dev/lua/weapons/gmod_tool/stools/signalling.lua:527: bad argument #1 to 'TableToJSON' (table expected, got nil)

  1. TableToJSON - [C]:-1
  2. SendSettings - addons/metrostroiaddon-dev/lua/weapons/gmod_tool/stools/signalling.lua:527
    3. OnSelect - addons/metrostroiaddon-dev/lua/weapons/gmod_tool/stools/signalling.lua:581
    4. ChooseOption - lua/vgui/dcombobox.lua:95
    5. DoClick - lua/vgui/dcombobox.lua:207
    6. OnMouseReleased - lua/vgui/dlabel.lua:237
    7. unknown - lua/vgui/dmenuoption.lua:77

Console output screenshot
https://imgur.com/a/NJnwAHB

Game information

  • Garry's mod Version: standard/x64/chromium
  • Where the error happens: on any server/local game
  • Custom Metrostroi user mods: tried without mods and with
  • Operation System: Windows