Skip to content

Commit

Permalink
fix(server): restart npc dialogue upon movement
Browse files Browse the repository at this point in the history
  • Loading branch information
Veradictus committed Sep 26, 2023
1 parent 7d97e6b commit 0912c28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/client/scss/game/impl/_bubbles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
content: '';

position: absolute;
bottom: -0.4em;
left: calc(50% - 0.5em);
bottom: -0.7em;
left: calc(50% - 0.75em);

display: block;

Expand Down
1 change: 1 addition & 0 deletions packages/server/src/game/entity/character/player/player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1205,6 +1205,7 @@ export default class Player extends Character {
this.incrementCheatScore(`Mismatch in movement speed: ${Date.now() - timestamp}`);

this.setPosition(x, y);
this.resetTalk();

this.lastStep = Date.now();
}
Expand Down

0 comments on commit 0912c28

Please sign in to comment.