Added Next & Previous Methods to Route

This commit is contained in:
Luke Else 2022-01-11 18:44:04 +00:00
parent cea0b0e32e
commit 74b5f0cf0c

View File

@ -38,7 +38,7 @@ namespace EFB.Models
public IWaypoint Next(){
if(Current.Next != null){
Current = current.Next;
Current = Current.Next;
return Current;
}
return null;
@ -46,7 +46,7 @@ namespace EFB.Models
public IWaypoint Previous(){
if(Current.Previous != null){
Current = current.Previous;
Current = Current.Previous;
return Current;
}
return null;