Content update for NetEntities (#18935)
This commit is contained in:
@@ -63,7 +63,7 @@ public sealed class GeneralStationRecordConsoleSystem : EntitySystem
|
||||
var consoleRecords =
|
||||
_stationRecordsSystem.GetRecordsOfType<GeneralStationRecord>(owningStation.Value, stationRecordsComponent);
|
||||
|
||||
var listing = new Dictionary<StationRecordKey, string>();
|
||||
var listing = new Dictionary<(NetEntity, uint), string>();
|
||||
|
||||
foreach (var pair in consoleRecords)
|
||||
{
|
||||
@@ -72,7 +72,7 @@ public sealed class GeneralStationRecordConsoleSystem : EntitySystem
|
||||
continue;
|
||||
}
|
||||
|
||||
listing.Add(pair.Item1, pair.Item2.Name);
|
||||
listing.Add(_stationRecordsSystem.Convert(pair.Item1), pair.Item2.Name);
|
||||
}
|
||||
|
||||
if (listing.Count == 0)
|
||||
@@ -89,7 +89,7 @@ public sealed class GeneralStationRecordConsoleSystem : EntitySystem
|
||||
GeneralStationRecord? record = null;
|
||||
if (console.ActiveKey != null)
|
||||
{
|
||||
_stationRecordsSystem.TryGetRecord(owningStation.Value, console.ActiveKey.Value, out record,
|
||||
_stationRecordsSystem.TryGetRecord(owningStation.Value, _stationRecordsSystem.Convert(console.ActiveKey.Value), out record,
|
||||
stationRecordsComponent);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user