mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
dont do useless Select
This commit is contained in:
parent
25df3d8bbe
commit
d7c30a9892
@ -113,7 +113,7 @@ namespace NewHorizons.Handlers
|
||||
Logger.Log("Loading Deferred Bodies");
|
||||
|
||||
// Make a copy of the next pass of bodies so that the array can be edited while we load them
|
||||
toLoad = _nextPassBodies.Select(x => x).ToList();
|
||||
toLoad = _nextPassBodies.ToList();
|
||||
while (_nextPassBodies.Count != 0)
|
||||
{
|
||||
foreach (var body in toLoad)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user