Fix turn combat facing and player movement
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user