Skip to content

Commit

Permalink
fix: register string compare
Browse files Browse the repository at this point in the history
  • Loading branch information
eseidel committed Aug 11, 2024
1 parent 53a3839 commit dab47bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/lib/net/register.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Future<String> register(
final Faction chosenFaction;
if (faction != null) {
chosenFaction =
factions.firstWhere((f) => f.symbol == faction.toUpperCase());
factions.firstWhere((f) => f.symbol.value == faction.toUpperCase());
} else {
logger.warn("Faction not specified. Choosing a random faction.");
chosenFaction =
Expand Down

0 comments on commit dab47bd

Please sign in to comment.