generated from nhcarrigan/template
fix: auto-boss no longer halts on client/server save race condition
Closes #86
This commit is contained in:
@@ -1316,11 +1316,13 @@ export const GameProvider = ({
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* "Boss is not currently available" is an expected race condition
|
* "Boss is not currently available" is an expected race condition
|
||||||
* in the tick loop — suppress telemetry for this case only
|
* when the client is ahead of the server save — silently skip and
|
||||||
|
* let the next tick retry rather than halting automation.
|
||||||
*/
|
*/
|
||||||
if (message !== "Boss is not currently available") {
|
if (message === "Boss is not currently available") {
|
||||||
logError("auto_boss", error_);
|
return;
|
||||||
}
|
}
|
||||||
|
logError("auto_boss", error_);
|
||||||
setAutoBossError(message);
|
setAutoBossError(message);
|
||||||
setState((previous) => {
|
setState((previous) => {
|
||||||
if (previous === null) {
|
if (previous === null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user