Merge branch 'main' of gitea.eom.dev:Gaming/the-button
This commit is contained in:
commit
eb6f6b3f3d
+1
-1
@@ -247,7 +247,7 @@ $("the-button").addEventListener("click", async () => {
|
||||
try {
|
||||
const r = await api("POST", "/api/press");
|
||||
game.deadline = r.deadline;
|
||||
currentShareText = `I pushed the button at ${formatPrecise(r.press.remaining_ms)}.`;
|
||||
currentShareText = `I pushed #TheButton at ${formatPrecise(r.press.remaining_ms)}.`;
|
||||
$("press-result").textContent =
|
||||
`You pressed in the ${r.press.zone} zone with ${formatPrecise(r.press.remaining_ms)} remaining: +${r.press.points} points`;
|
||||
updateShareLinks();
|
||||
|
||||
Reference in New Issue
Block a user