lots of stuff noo need to say it lol

This commit is contained in:
NoLogicAlan committed 2026-05-08 21:29:32 +03:00
1 parent 009ec31dd8
commit 57912539a9
7 files changed
+265 -487

No files matched your search

-10
View File
@@ -660,16 +660,6 @@ export class RecoveryManager {
`(${ok} ok, ${errors.length} failed).`
);
// Re-announce readiness to the backend so it can re-initialize
// PlayerManager with the recovered players. Without this, the backend
// may have missed the "init" events published during recovery if its
// subscriber wasn't ready yet, or it may have initialized with empty
// data because the bot hadn't recovered sessions at the time.
if (ok > 0 && remix.dashboard?.announceReady) {
logger.recovery("[Recovery] Re-announcing bot readiness to backend...");
remix.dashboard.announceReady();
}
// Delete recovery file AFTER all spawns have been attempted (success or fail).
// If the process crashes mid-recovery, the file still exists for next boot.
if (recoveryFileExisted) {