TheEveEye / SCR-Realism-Project

Our goal is to create a perfectly timed timetable for all stations and drivers in the Roblox Game "Stepford County Railway"
https://bit.ly/SCR-RP-Discord
GNU General Public License v3.0
4 stars 0 forks source link

Exception Thrown Error when attempting to cancel to delete a leg #36

Closed kirbix12 closed 1 year ago

kirbix12 commented 1 year ago

Line 680 of Program.cs returned with an Exception Thrown error with:

System.NullReferenceException: 'Object reference not set to an instance of an object.'

selectedLeg was null.

while attempting to cancel to delete a leg via. "delete leg" command.

Command line also spat out:

Are you sure that you want to remove leg 0?

after it "successfully" execute the attempted cancelation. It does not matter if a leg was added

TheEveEye commented 1 year ago

Works with the newest commit on branch #17