Commit 9a380fdd authored by Sebastian Speitel's avatar Sebastian Speitel
Browse files

fix: stuck in ready phase

parent 27d4649e
......@@ -80,7 +80,7 @@ export default {
setInterval(async () => {
const resp = await fetch(config.BASE_URL + "/api/gamephase");
const { phase: p } = await resp.json();
if (phase.value === "ready") {
if (phase.value === "ready" && p !== "war") {
return;
}
phase.value = p;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment