diff --git a/src/app/app.component.ts b/src/app/app.component.ts index c972bbf..a0ab599 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -95,6 +95,12 @@ export class AppComponent implements OnInit{ this.editor!.openGameModelComponent(gamesystem!); } } break + case ModelComponentType.CHARACTER: { + if(this.characterOverview!.selectedCharacter != undefined) { + this.editor!.openGameModelComponent(this.characterOverview!.selectedCharacter); + } + }break + } }