From 0fd4e1e073ea2daac061f2acf358a26e2a23b0d8 Mon Sep 17 00:00:00 2001 From: bitcoinfees Date: Fri, 4 Dec 2015 14:41:10 +0800 Subject: [PATCH] tutorial_info fix in some tutorial_world.rooms tutorial_info is assigned incorrectly in IntroRoom and OutroRoom init. Instead of setting obj.db.tutorial_info, it sets obj.db_tutorial_info. --- evennia/contrib/tutorial_world/rooms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/evennia/contrib/tutorial_world/rooms.py b/evennia/contrib/tutorial_world/rooms.py index 9950e8f6c9..d18fa4db4b 100644 --- a/evennia/contrib/tutorial_world/rooms.py +++ b/evennia/contrib/tutorial_world/rooms.py @@ -356,7 +356,7 @@ class IntroRoom(TutorialRoom): Called when the room is first created. """ super(IntroRoom, self).at_object_creation() - self.db_tutorial_info = "The first room of the tutorial. " \ + self.db.tutorial_info = "The first room of the tutorial. " \ "This assigns the health Attribute to "\ "the player." @@ -977,7 +977,7 @@ class OutroRoom(TutorialRoom): Called when the room is first created. """ super(OutroRoom, self).at_object_creation() - self.db_tutorial_info = "The last room of the tutorial. " \ + self.db.tutorial_info = "The last room of the tutorial. " \ "This cleans up all temporary Attributes " \ "the tutorial may have assigned to the "\ "character."