aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-12-04 18:31:54 -0700
committerMelody Horn <melody@boringcactus.com>2021-12-04 18:31:54 -0700
commitfa6a1adc2e174839e6230adb27db0ddbea62e6de (patch)
tree73f0a92287be382484b156b11cccdad8f7725982
parent9596730e52ccf5d385fa151d8bcc1eabe8ef90f3 (diff)
downloadqueue-go-brrr-fa6a1adc2e174839e6230adb27db0ddbea62e6de.tar.gz
queue-go-brrr-fa6a1adc2e174839e6230adb27db0ddbea62e6de.zip
apologize
-rw-r--r--index.html1
-rw-r--r--src/history.rs6
2 files changed, 1 insertions, 6 deletions
diff --git a/index.html b/index.html
index 7445435..4359092 100644
--- a/index.html
+++ b/index.html
@@ -32,6 +32,7 @@
<p>
Share your FFXIV window, and then this tool will try to calculate how much longer you probably have to wait.
(The actual calculation isn't very sophisticated, but it's better than nothing.)
+ (Also this is incredibly janky; if anything breaks or misbehaves try reloading the page.)
</p>
<h2><button id="bootbutton">Start!</button></h2>
<div class="output">
diff --git a/src/history.rs b/src/history.rs
index 48ee7db..5216d10 100644
--- a/src/history.rs
+++ b/src/history.rs
@@ -40,12 +40,6 @@ impl History {
if overall_queue_motion == 0 {
return None;
}
- gloo::console::log!(
- "time",
- overall_time_elapsed.to_string(),
- "motion",
- overall_queue_motion
- );
let duration_per_step = overall_time_elapsed / overall_queue_motion as i32;
let remaining_duration = duration_per_step * last_size as i32;
let completion_time = last_time + remaining_duration;