--- a/openBVE/OpenBve/Parsers/CsvRwRouteParser.cs +++ b/openBVE/OpenBve/Parsers/CsvRwRouteParser.cs @@ -2028,6 +2028,7 @@ namespace OpenBve { Interface.AddMessage(Interface.MessageType.Error, true, "The folder " + Folder + " could not be found in "+Command+" at line " + Expressions[j].Line.ToString(Culture) + ", column " + Expressions[j].Column.ToString(Culture) + " in file " + FileName); } else { Signal.SignalTextures = LoadAllTextures(f, new World.ColorRGB(0, 0, 0), 1, TextureManager.TextureLoadMode.Normal); + try { Signal.GlowTextures = new int[] { }; if (Arguments.Length >= 2) { /// System.IO.Path.Combine is used here as only a base file name is provided and thus does not exist anyway @@ -2039,6 +2040,7 @@ namespace OpenBve { Signal.GlowObject.Mesh.Materials[p].GlowAttenuationData = World.GetGlowAttenuationData(200.0, World.GlowAttenuationMode.DivisionExponent4); } } + } catch {} Data.SignalData[CommandIndex1] = Signal; } }