Fixes logical error in new failsafe

develop
Josh Cooper 2022-10-24 17:59:29 -07:00 committed by GitHub
parent 606f204b82
commit 48e0b53adc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

@ -183,7 +183,7 @@ DFhackCExport command_result plugin_onupdate(color_ostream &out) {
World::SetPauseState(false); World::SetPauseState(false);
} }
} }
if (failsafe) { if (failsafe >= 10) {
out.printerr("spectate encountered a problem dismissing a popup!"); out.printerr("spectate encountered a problem dismissing a popup!");
} }
if (disengage_enabled && !World::ReadPauseState()) { if (disengage_enabled && !World::ReadPauseState()) {