allow lowercase or uppercase exit
@@ -204,7 +204,7 @@ class MessengerManager():
agent_state = self._get_agent_state(agent_id)
if agent_state.get_active_agent() is None:
# return agent to overworld
- if 'text' in message['message'] and message['message']['text']=='EXIT':
+ if 'text' in message['message'] and message['message']['text'].upper()=='EXIT':
# remove agent from agent_pool
to_remove = []
for world_type, time in agent_state.time_in_pool.items():
