Skip to content

Commit

Permalink
fix(client): fix team ping not showing on the map
Browse files Browse the repository at this point in the history
  • Loading branch information
lmssiehdev committed Mar 24, 2024
1 parent ae4ff9a commit 6c8cb2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/src/emote.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class EmoteBarn {
if (this.dr) {
let worldPos;
// Determine if this is going to be a team ping or an emote
if (this.emoteSelector.ping && this.emoteWheelsGreyed) {
if (this.emoteSelector.ping && !this.emoteWheelsGreyed) {
const pingData = PingDefs[this.emoteSelector.ping];
if (pingData?.pingMap) {
// Where on the world do we ping?
Expand All @@ -111,7 +111,7 @@ export class EmoteBarn {
this.emoteSelector.emote &&
!this.emoteWheelsGreyed
) {
worldPos = Thithiss.dr.pos;
worldPos = this.dr.pos;
this.sendEmote({
type: this.emoteSelector.emote,
pos: worldPos
Expand Down Expand Up @@ -149,7 +149,7 @@ export class EmoteBarn {
this.inputReset();
}
};

Check failure on line 152 in client/src/emote.js

View workflow job for this annotation

GitHub Actions / Lint

Trailing spaces not allowed
if (device.touch) {
this.emoteElems = $(".ui-emote");
this.emoteElems.css("pointer-events", "auto");
Expand Down

0 comments on commit 6c8cb2e

Please sign in to comment.