You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
plotinfo.site_id is -1 in a reclaimed fortress - can we safely mitigate? #5937
should we have a tool that forcibly updates plotinfo.site_id when it's found to be -1 in fort mode (as this violates what we believe to be an invariant) as a mitigation of a DF bug - at least until Bay12 fixes it
Implemented in #5948: quickfix.repair_site_id() runs from onMapLoad.default.init and restores site_id from plotinfo.main.fortress_site when DF leaves it at -1. It only writes when the invariant is violated and prints a note when it repairs something.
Activity
Alistair-Afton commentedon Sep 17, 2026
Implemented in #5948:
quickfix.repair_site_id()runs fromonMapLoad.default.initand restoressite_idfromplotinfo.main.fortress_sitewhen DF leaves it at -1. It only writes when the invariant is violated and prints a note when it repairs something.ab9rf commentedon Sep 22, 2026
closed by #5948