Skip to content

Commit

Permalink
fix: 入力デバイスPI版の場合、終了時にエラーが発生する不具合を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
automatic9045 committed May 25, 2023
1 parent efaec7d commit 8cf6109
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AtsEx/BveHacker/BveHacker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ private void OnScenarioCreated(ScenarioCreatedEventArgs e)

public void Tick(TimeSpan elapsed)
{
if (_MapStatements is null) return;

double vehicleLocation = Scenario.LocationManager.Location;
double preTrainLocation = Scenario.Route.PreTrainObjects.GetPreTrainLocation(Scenario.TimeManager.TimeMilliseconds);

Expand Down

0 comments on commit 8cf6109

Please sign in to comment.