summaryrefslogtreecommitdiff
path: root/plugins/autolabor.cpp
diff options
context:
space:
mode:
authorKelly Martin2012-04-26 12:54:10 -0500
committerKelly Martin2012-04-26 12:54:10 -0500
commit53e0ba8b8d047a8cd4edd1a8067c218080e6e889 (patch)
tree7413df8cea250317dd9dc78594b0a44a17b7f28e /plugins/autolabor.cpp
parentc0c790f58c9cf409492d615ffb5ef6d4ba26fbd0 (diff)
downloaddfhack-53e0ba8b8d047a8cd4edd1a8067c218080e6e889.tar.gz
dfhack-53e0ba8b8d047a8cd4edd1a8067c218080e6e889.tar.bz2
dfhack-53e0ba8b8d047a8cd4edd1a8067c218080e6e889.tar.xz
Actually write the noble penalty to the dwarf_info structure....
Diffstat (limited to 'plugins/autolabor.cpp')
-rw-r--r--plugins/autolabor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/autolabor.cpp b/plugins/autolabor.cpp
index 73f8e7c2..f489c229 100644
--- a/plugins/autolabor.cpp
+++ b/plugins/autolabor.cpp
@@ -784,6 +784,7 @@ DFhackCExport command_result plugin_onupdate ( color_ostream &out )
dwarf_info[dwarf].medical = true;
}
+ dwarf_info[dwarf].noble_penalty = noble_penalty;
}
for (auto s = dwarfs[dwarf]->status.souls[0]->skills.begin(); s != dwarfs[dwarf]->status.souls[0]->skills.end(); s++)