summaryrefslogtreecommitdiff
path: root/protocol.py
diff options
context:
space:
mode:
Diffstat (limited to 'protocol.py')
-rw-r--r--protocol.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/protocol.py b/protocol.py
index 25633ee..33c4e9a 100644
--- a/protocol.py
+++ b/protocol.py
@@ -20,6 +20,7 @@
# Parses packets
import utils
import player
+import tavern
import battle.main as battle
from consts import ERR_BAD, ERR_DONE, PACKET_NACK, PACKET_ACK
@@ -102,8 +103,8 @@ def parse(packet, conn):
r=player.evolve(data[2], t);
elif data[1] == "sellunits":
r=player.sellunits(data[2], t);
- #elif data[1] == "recruit":
- # r=tavern.recruit(data[2], t)
+ elif data[1] == "recruit":
+ r=tavern.recruit(data[2], t)
#elif data[1] == "summon":
# r=battle.summon(data[2], t)
else: