From a7c7bb808e0613eb9e83f456808e4dd12fcbabad Mon Sep 17 00:00:00 2001 From: jacob1 Date: Fri, 30 Oct 2015 18:18:33 -0400 Subject: [PATCH] fix syntax error and error preventing restart --- src/gamemodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gamemodes.py b/src/gamemodes.py index ff88e66..a946b52 100644 --- a/src/gamemodes.py +++ b/src/gamemodes.py @@ -790,7 +790,7 @@ class SleepyMode(GameMode): decorators.COMMANDS["south"].remove(self.south_cmd) decorators.COMMANDS["s"].remove(self.south_cmd) decorators.COMMANDS["west"].remove(self.west_cmd) - decorators.COMMANDS["west"].remove(self.west_cmd) + decorators.COMMANDS["w"].remove(self.west_cmd) def dullahan_targets(self, evt, cli, var, dullahans, max_targets): for dull in dullahans: @@ -800,7 +800,7 @@ class SleepyMode(GameMode): if random.random() < 1/5: self.having_nightmare = True with var.WARNING_LOCK: - t = threading.Timer(60, self.do_nightmare, (cli, random.choice(var.list_players())) + t = threading.Timer(60, self.do_nightmare, (cli, random.choice(var.list_players()))) t.start() else: self.having_nightmare = None