Browse Source

fixed some minor stuff

master
jcao219 14 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):
elif "" in self.command_handler: elif "" in self.command_handler:
self.command_handler[""](self, prefix, command, *largs) self.command_handler[""](self, prefix, command, *largs)
except Exception as e: except Exception as e:
traceback.print_exc() traceback.print_exc()
raise e # ?
yield True yield True
finally: finally:

2
wolfgame.py

@ -868,7 +868,7 @@ def transition_day(cli, gameid=0):
wc.remove(crow) wc.remove(crow)
deadwolf = random.choice(var.ROLES["wolf"]+wc) deadwolf = random.choice(var.ROLES["wolf"]+wc)
message.append(("The wolves made the fortunate mistake of attacking "+ 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)) " was shot dead.").format(deadwolf))
dead.append(deadwolf) dead.append(deadwolf)
var.VICTIM = "" var.VICTIM = ""

Loading…
Cancel
Save