From 3c90830cffd09b98f55c0a1f19ec8264f42c37b3 Mon Sep 17 00:00:00 2001 From: "Vgr E. Barry" Date: Fri, 30 Oct 2015 18:13:17 -0400 Subject: [PATCH] Fix a NameError --- src/gamemodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gamemodes.py b/src/gamemodes.py index 8ad876f..ff88e66 100644 --- a/src/gamemodes.py +++ b/src/gamemodes.py @@ -8,7 +8,7 @@ import src.settings as var from src.utilities import * import botconfig -from src import events +from src import events, utilities def game_mode(name, minp, maxp, likelihood = 0): def decor(c): @@ -854,7 +854,7 @@ class SleepyMode(GameMode): "legs as you push yourself for one final burst. You make it across the bridge, and not a moment too " + "soon as the sun starts rising up, causing you to wake from your dream in a cold sweat.")) self.having_nightmare = None - chk_nightdone(cli) + utilities.chk_nightdone(cli) elif "fake1" in self.on_path: pm(cli, self.having_nightmare, ("You break clear of the woods and see a roaring river ahead. However, look as you may you are unable " + "to find any means of crossing it. Knowing how expansive the river is, and how fast the beast can chase " +