fix multiclass submissions
This commit is contained in:
parent
304a4d9c79
commit
b92ff868a5
|
@ -143,12 +143,10 @@ class CharacterSheet(BaseController):
|
||||||
).first()
|
).first()
|
||||||
|
|
||||||
if attr_map.class_attribute_id not in assigned:
|
if attr_map.class_attribute_id not in assigned:
|
||||||
self.record.character_class_attribute_map.append(
|
self.record.class_attributes.append({
|
||||||
CharacterClassAttributeMap(
|
'class_attribute_id': attr_map.class_attribute_id,
|
||||||
class_attribute_id=attr_map.class_attribute_id,
|
'option_id': default_option.id,
|
||||||
option=default_option
|
})
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
def save_callback(self):
|
def save_callback(self):
|
||||||
self.add_class_attributes()
|
self.add_class_attributes()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user