From 8e7671541a060480bd68cce7d8af6e4498bb6eb9 Mon Sep 17 00:00:00 2001
From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
Date: Tue, 16 Aug 2022 16:15:00 +1200
Subject: [PATCH] Fix station records error (#10631)
---
Content.Server/StationRecords/StationRecordSet.cs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Content.Server/StationRecords/StationRecordSet.cs b/Content.Server/StationRecords/StationRecordSet.cs
index 4958a2fc85..bc0bc5a427 100644
--- a/Content.Server/StationRecords/StationRecordSet.cs
+++ b/Content.Server/StationRecords/StationRecordSet.cs
@@ -1,4 +1,5 @@
using System.Diagnostics.CodeAnalysis;
+using System.Linq;
using Content.Shared.StationRecords;
namespace Content.Server.StationRecords;
@@ -123,7 +124,7 @@ public sealed class StationRecordSet
/// All recently accessed keys from this record set.
public IEnumerable GetRecentlyAccessed()
{
- return _recentlyAccessed;
+ return _recentlyAccessed.ToArray();
}
///