Skip to content

Commit

Permalink
Fixes incorrect null check in PredicateEntityQuery (space-wizards#813)
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalis authored and PJB3005 committed May 24, 2019
1 parent e7a8e9b commit 1b38996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Robust.Shared/GameObjects/EntityQuery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class PredicateEntityQuery : IEntityQuery
/// <param name="predicate"></param>
public PredicateEntityQuery(Predicate<IEntity> predicate)
{
if(Predicate == null)
if (predicate == null)
throw new ArgumentNullException(nameof(predicate));

Predicate = predicate;
Expand Down

0 comments on commit 1b38996

Please sign in to comment.