Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #53 from ricardokirkner/master

uno mas
  • Loading branch information...
commit da3dd5a930f935dc90c447cbc33d874bc3fe2398 2 parents 1e2be83 + bc72d71
@luciotorre authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 bots/borg.py
View
5 bots/borg.py
@@ -51,7 +51,10 @@ def messageReceived(self, message):
enemy.messageReceived(message)
except:
self.enemy = None
- del self.bots[enemy.name]
+ try:
+ del self.bots[enemy.name]
+ except:
+ pass
def set_enemy(self, message):
enemy = None
Please sign in to comment.
Something went wrong with that request. Please try again.