barbarianassault: equalsIgnoreCase

This commit is contained in:
sdburns1998
2019-07-07 02:16:43 +02:00
parent b5cbb48575
commit b880a9bb40

View File

@@ -58,7 +58,7 @@ class BarbarianAssaultMenu
private boolean isHornOptionHidden(String option)
{
if (game.isInGame() && game.getRole() != null && game.getRole().getTell(game.getLastCallText()).toLowerCase().equals(option))
if (game.isInGame() && game.getRole() != null && game.getRole().getTell(game.getLastCallText()).equalsIgnoreCase(option))
{
// This will force the menu to be rebuilt after the correct tell is found
// medic will be added to the menu if it wasn't there before