mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 16:26:30 +01:00
Fixed metaclass to handle proxy correctly. Some issues with getting path properties set correctly.
This commit is contained in:
parent
32e44dceab
commit
043ebf7213
6 changed files with 289 additions and 265 deletions
|
|
@ -16,6 +16,7 @@ they control by simply linking to a new object's user property.
|
|||
"""
|
||||
|
||||
from django.conf import settings
|
||||
from src.typeclasses.models import TypeclassBase
|
||||
from src.objects.models import ObjectDB
|
||||
from src.commands import cmdset, command
|
||||
from src.utils.logger import log_depmsg
|
||||
|
|
@ -35,8 +36,9 @@ class Object(ObjectDB):
|
|||
"""
|
||||
This is the base class for all in-game objects. Inherit from this
|
||||
to create different types of objects in the game.
|
||||
|
||||
"""
|
||||
_is_typeclass = True
|
||||
__metaclass__ = TypeclassBase
|
||||
|
||||
# __init__ is only defined here in order to present docstring to API.
|
||||
def __init__(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue