diff --git a/AIDojoCoordinator/game_components.py b/AIDojoCoordinator/game_components.py index b82f94aa..2c4acab2 100755 --- a/AIDojoCoordinator/game_components.py +++ b/AIDojoCoordinator/game_components.py @@ -160,7 +160,7 @@ def __eq__(self, other): return self.value == other.value # Compare with a string elif isinstance(other, str): - return self.value == other + return self.value == other.replace("ActionType.", "") return False def __hash__(self): @@ -455,7 +455,7 @@ def __eq__(self, other): return self.value == other.value # Compare with a string elif isinstance(other, str): - return self.value == other + return self.value == other.replace("AgentStatus.", "") return False def __hash__(self):