From 48e0b53adc2ed9fb55e03d7222c15d59b71dfd03 Mon Sep 17 00:00:00 2001 From: Josh Cooper Date: Mon, 24 Oct 2022 17:59:29 -0700 Subject: [PATCH] Fixes logical error in new failsafe --- plugins/spectate/spectate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/spectate/spectate.cpp b/plugins/spectate/spectate.cpp index 00271e23e..2295422c5 100644 --- a/plugins/spectate/spectate.cpp +++ b/plugins/spectate/spectate.cpp @@ -183,7 +183,7 @@ DFhackCExport command_result plugin_onupdate(color_ostream &out) { World::SetPauseState(false); } } - if (failsafe) { + if (failsafe >= 10) { out.printerr("spectate encountered a problem dismissing a popup!"); } if (disengage_enabled && !World::ReadPauseState()) {