Skip to content

Commit 84916d5

Browse files
committed
He didn't used Any because he needed to select between 0, 1 or many (instead of 0 or many). :)
1 parent a88566a commit 84916d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/ModuleManager/MMPatchLoader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ private void LoadPhysicsConfig()
233233
private void SaveModdedPhysics(IEnumerable<IProtoUrlConfig> databaseConfigs)
234234
{
235235
IEnumerable<IProtoUrlConfig> configs = databaseConfigs.Where(config => config.NodeType == PHYSICS_NODE_NAME);
236-
int count = configs.Count(); // FIXME: Why didn't he used .Any()?
236+
int count = configs.Count();
237237

238238
if (count == 0)
239239
{

0 commit comments

Comments
 (0)