Fixed metaclass to handle proxy correctly. Some issues with getting path properties set correctly.

This commit is contained in:
Griatch 2014-12-20 19:04:49 +01:00
parent 32e44dceab
commit 043ebf7213
6 changed files with 289 additions and 265 deletions

View file

@ -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):