metrostroi-repo / metrostroi_beta

Metrostroi beta addon
22 stars 23 forks source link

Subway Train Base error: attempt to index field 'SubwayTrain' (a nil value) #55

Closed daigennki closed 7 years ago

daigennki commented 7 years ago

This error appears in console when spawning Subway Train Base:

[ERROR] addons/metrostroi/lua/metrostroi/systems/sys_als_ars.lua:304: attempt to index field 'SubwayTrain' (a nil value)

  1. MoscowARS - addons/metrostroi/lua/metrostroi/systems/sys_als_ars.lua:304
    1. Think - addons/metrostroi/lua/metrostroi/systems/sys_als_ars.lua:844
    2. unknown - addons/metrostroi/lua/entities/gmod_subway_base/init.lua:1654

As a result it cannot be used.

daigennki commented 7 years ago

Found more errors, this time not immediately after spawning the Subway Train Base but when it enters station and leaves I think.

[ERROR] addons/metrostroi/lua/metrostroi/systems/sys_als_ars.lua:301: attempt to index field 'SubwayTrain' (a nil value)

  1. MoscowARS - addons/metrostroi/lua/metrostroi/systems/sys_als_ars.lua:301
    1. Think - addons/metrostroi/lua/metrostroi/systems/sys_als_ars.lua:844
    2. unknown - addons/metrostroi/lua/entities/gmod_subway_base/init.lua:1654

[ERROR] addons/metrostroi/lua/metrostroi/systems/sys_als_ars.lua:791: attempt to index field 'SubwayTrain' (a nil value)

  1. Think - addons/metrostroi/lua/metrostroi/systems/sys_als_ars.lua:791
    1. unknown - addons/metrostroi/lua/entities/gmod_subway_base/init.lua:1654