RekkasGit / E3Next

10 stars 19 forks source link

Used string comparisons ignoring case #226

Open Lyricalpanda opened 4 months ago

Lyricalpanda commented 4 months ago

Unsure which of these comparisons needed DisplayName, thought about adding an extension to String for string.caseInsensitive, adding E3.CurrentDisplayName, or a convenience method on E3.

Note: I left the following comparisons as they looked like they wanted case sensitivity

if (spawn.DisplayName == E3.CurrentName)