Update autolabor.cpp

develop
Christopher J Hammel 2023-02-14 11:37:22 -05:00 committed by GitHub
parent 805d68017f
commit c4aa936c0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

@ -761,7 +761,7 @@ DFhackCExport command_result plugin_onupdate ( color_ostream &out )
{ {
df::building_tradedepotst* depot = (df::building_tradedepotst*) build; df::building_tradedepotst* depot = (df::building_tradedepotst*) build;
trader_requested = trader_requested || depot->trade_flags.bits.trader_requested; trader_requested = trader_requested || depot->trade_flags.bits.trader_requested;
INFO(cycle,out).print(trader_requested TRACE(cycle,out).print(trader_requested
? "Trade depot found and trader requested, trader will be excluded from all labors.\n" ? "Trade depot found and trader requested, trader will be excluded from all labors.\n"
: "Trade depot found but trader is not requested.\n" : "Trade depot found but trader is not requested.\n"
); );