mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-06-05 20:38:26 +02:00
checked new code works for create-character
This commit is contained in:
@@ -12,7 +12,7 @@ class Background():
|
||||
features = ()
|
||||
languages = ()
|
||||
|
||||
def __init__(self, owner):
|
||||
def __init__(self, owner=None):
|
||||
self.owner = owner
|
||||
cls = type(self)
|
||||
self.features = tuple([f(owner=self.owner) for f in cls.features])
|
||||
|
||||
Reference in New Issue
Block a user