diff --git a/CHANGELOG.md b/CHANGELOG.md index e2a59b5b..001cfcab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +### Fixed +- Character selector previews now render NPCs facing south. + ## [2.4.2] 2026-05-23 ### Fixed - Improved NPC rendering, positions should now match the game exactly [#130](https://github.com/CCDirectLink/crosscode-map-editor/issues/130), [#132](https://github.com/CCDirectLink/crosscode-map-editor/issues/132) diff --git a/webapp/src/app/components/widgets/character-widget/character-widget.component.ts b/webapp/src/app/components/widgets/character-widget/character-widget.component.ts index c4216795..21f16a3c 100644 --- a/webapp/src/app/components/widgets/character-widget/character-widget.component.ts +++ b/webapp/src/app/components/widgets/character-widget/character-widget.component.ts @@ -121,7 +121,10 @@ export class CharacterWidgetComponent extends OverlayWidget { const prop: typeof this.props[0] = { prefix: char.split('.')[0], full: char, - img: await this.generateImage({characterName: char}, 'NPC') + img: await this.generateImage({ + characterName: char, + npcStates: [{face: 'SOUTH'}] + }, 'NPC') }; return prop; }));