From ed0e4ef8415834afec59626ab6bd2f706cb64d49 Mon Sep 17 00:00:00 2001 From: myk002 Date: Sun, 6 Jun 2021 09:00:33 -0700 Subject: [PATCH] whoops that was important --- plugins/fastdwarf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/fastdwarf.cpp b/plugins/fastdwarf.cpp index 82e9d39dd..3948d8577 100644 --- a/plugins/fastdwarf.cpp +++ b/plugins/fastdwarf.cpp @@ -54,7 +54,7 @@ DFhackCExport command_result plugin_onupdate ( color_ostream &out ) if (!Units::isCitizen(unit)) continue; - if (enable_teledwarf) + if (enable_teledwarf) do { // skip dwarves that are dragging creatures or being dragged if ((unit->relationship_ids[df::unit_relationship_type::Draggee] != -1) || @@ -78,7 +78,7 @@ DFhackCExport command_result plugin_onupdate ( color_ostream &out ) break; unit->path.path.clear(); - } + } while (0); if (enable_fastdwarf) {