@rpgjs/common 5.0.0-alpha.30 → 5.0.0-alpha.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/rooms/Map.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -10676,13 +10676,13 @@ class RpgCommonMap {
|
|
|
10676
10676
|
const ownerHasAnimationName = animationNameSignal && typeof animationNameSignal === "object" && typeof animationNameSignal.set === "function";
|
|
10677
10677
|
if (isMoving && intensity > LOW_INTENSITY_THRESHOLD) {
|
|
10678
10678
|
if (hasSetAnimation) {
|
|
10679
|
-
owner2.
|
|
10679
|
+
owner2.setGraphicAnimation("walk");
|
|
10680
10680
|
} else if (ownerHasAnimationName) {
|
|
10681
10681
|
animationNameSignal.set("walk");
|
|
10682
10682
|
}
|
|
10683
10683
|
} else if (!isMoving) {
|
|
10684
10684
|
if (hasSetAnimation) {
|
|
10685
|
-
owner2.
|
|
10685
|
+
owner2.setGraphicAnimation("stand");
|
|
10686
10686
|
} else if (ownerHasAnimationName) {
|
|
10687
10687
|
animationNameSignal.set("stand");
|
|
10688
10688
|
}
|