EDTS needs explicit (int) conversion now …
This commit is contained in:
parent
ed07dbebbe
commit
d9f8e8ef10
1 changed files with 5 additions and 5 deletions
|
@ -87,7 +87,7 @@ namespace alterNERDtive.Edna.Edts
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the precision to which the location can be calculated.
|
/// Gets the precision to which the location can be calculated.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int Precision { get; }
|
public int Precision { get; private set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -132,10 +132,10 @@ namespace alterNERDtive.Edna.Edts
|
||||||
return new StarSystem(
|
return new StarSystem(
|
||||||
name: name,
|
name: name,
|
||||||
coordinates: new Location(
|
coordinates: new Location(
|
||||||
x: json["position"]["x"],
|
x: (int)json["position"]["x"],
|
||||||
y: json["position"]["y"],
|
y: (int)json["position"]["y"],
|
||||||
z: json["position"]["z"],
|
z: (int)json["position"]["z"],
|
||||||
precision: json["uncertainty"]));
|
precision: (int)json["uncertainty"]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue