mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix unnecessary change to use DefaultObject instead of Object in tutorial example. Resolve #3310
This commit is contained in:
parent
62ff667f9a
commit
ec4bfe25f6
1 changed files with 4 additions and 4 deletions
|
|
@ -142,9 +142,9 @@ We _could_ make a child class of `Sittable` named `SittableIn` that makes this c
|
|||
|
||||
# in mygame/typeclasses/sittables.py
|
||||
|
||||
from evennia import DefaultObject
|
||||
from typeclasses.objects import Object
|
||||
|
||||
class Sittable(DefaultObject):
|
||||
class Sittable(Object):
|
||||
|
||||
def do_sit(self, sitter):
|
||||
"""
|
||||
|
|
@ -306,10 +306,10 @@ We also need to make a change to our `Sittable` typeclass. Open `mygame/typeclas
|
|||
|
||||
# in mygame/typeclasses/sittables.py
|
||||
|
||||
from evennia import DefaultObject
|
||||
from typeclasses.objects import Object
|
||||
from commands.sittables import CmdSetSit
|
||||
|
||||
class Sittable(DefaultObject):
|
||||
class Sittable(Object):
|
||||
"""
|
||||
(docstring)
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue