Fix turn combat facing and player movement

This commit is contained in:
maple
2026-06-08 00:01:46 +09:00
parent 1299d718e2
commit 27818e92c7
16 changed files with 116 additions and 41 deletions

View File

@@ -39,7 +39,7 @@ function patchMonsterEntity(entity) {
const transform = component(entity, 'MOD.Core.TransformComponent');
if (transform?.Scale) {
transform.Scale.x = -Math.abs(transform.Scale.x || 1);
transform.Scale.x = Math.abs(transform.Scale.x || 1);
transform.Scale.y = Math.abs(transform.Scale.y || 1);
}