bugfix: emoji button to send to all players always active, shorten emoji cooldown

This commit is contained in:
Evan
2025-02-12 10:24:32 -08:00
parent 00102972e6
commit a8c04f11ee
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -125,7 +125,10 @@ export class PlayerPanel extends LitElement implements Layer {
const canDonate = this.actions.interaction?.canDonate;
const canSendAllianceRequest =
this.actions.interaction?.canSendAllianceRequest;
const canSendEmoji = this.actions.interaction?.canSendEmoji;
const canSendEmoji =
other == myPlayer
? this.actions.canSendEmojiAllPlayers
: this.actions.interaction?.canSendEmoji;
const canBreakAlliance = this.actions.interaction?.canBreakAlliance;
const canTarget = this.actions.interaction?.canTarget;
+1 -1
View File
@@ -205,7 +205,7 @@ export class DefaultConfig implements Config {
return 5 * 10;
}
emojiMessageCooldown(): Tick {
return 15 * 10;
return 5 * 10;
}
targetDuration(): Tick {
return 10 * 10;