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.
This commit is contained in:
bitcoinfees 2015-12-04 14:41:10 +08:00
parent f87d07b775
commit 0fd4e1e073

View file

@ -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."