diff --git a/Sources/Model/PlayerManager.cs b/Sources/Model/PlayerManager.cs index a23910f..806ef4b 100644 --- a/Sources/Model/PlayerManager.cs +++ b/Sources/Model/PlayerManager.cs @@ -82,7 +82,9 @@ namespace Model { if (player is null) { - throw new ArgumentNullException(nameof(player), "param should not be null"); + throw new ArgumentNullException(nameof(after), "param should not be null"); + // could also be because of before, but one param had to be chosen as an example + // and putting "player" there was raising a major code smell } } Remove(before);