mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-27 15:34:18 +00:00
Make rabbit happy
This commit is contained in:
@@ -906,7 +906,8 @@ function updateTransportTimings(result) {
|
||||
hpaTilesEl.textContent = "";
|
||||
}
|
||||
|
||||
const totalTime = result.debug?.timings?.closestShoreByWater || 0;
|
||||
const totalTime =
|
||||
result.debug?.timings?.["SpatialQuery.closestShoreByWater"] ?? 0;
|
||||
if (totalTime > 0) {
|
||||
hpaTimeEl.textContent = `${totalTime.toFixed(2)}ms`;
|
||||
hpaTimeEl.classList.remove("faded");
|
||||
|
||||
Reference in New Issue
Block a user