whoops that was important

develop
myk002 2021-06-06 09:00:33 -07:00
parent 34aa62d675
commit ed0e4ef841
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 2 additions and 2 deletions

@ -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)
{