#245 : Added color field to character hair

This commit is contained in:
2025-02-18 17:52:50 +01:00
parent 258ebf97d1
commit 66fc6d8b43
3 changed files with 6 additions and 5 deletions

View File

@ -11,7 +11,7 @@ export class BaseSprite extends BaseEntity {
@Property()
name!: string
@OneToMany(() => SpriteAction, (action) => action.sprite)
@OneToMany({ mappedBy: 'sprite', orphanRemoval: true })
spriteActions = new Collection<SpriteAction>(this)
@Property()