Browse Source

fixed some minor stuff

master
jcao219 13 years ago
parent
commit
ba4428be4b
  1. 3
      oyoyo/client.py
  2. 2
      wolfgame.py

3
oyoyo/client.py

@ -217,7 +217,8 @@ class IRCClient(object): @@ -217,7 +217,8 @@ class IRCClient(object):
elif "" in self.command_handler:
self.command_handler[""](self, prefix, command, *largs)
except Exception as e:
traceback.print_exc()
traceback.print_exc()
raise e # ?
yield True
finally:

2
wolfgame.py

@ -868,7 +868,7 @@ def transition_day(cli, gameid=0): @@ -868,7 +868,7 @@ def transition_day(cli, gameid=0):
wc.remove(crow)
deadwolf = random.choice(var.ROLES["wolf"]+wc)
message.append(("The wolves made the fortunate mistake of attacking "+
"the gunner last night, and \2{0}\2, a wolf,"+
"a gunner last night, and \u0002{0}\u0002, a \u0002wolf\u0002,"+
" was shot dead.").format(deadwolf))
dead.append(deadwolf)
var.VICTIM = ""

Loading…
Cancel
Save