diff options
| author | Kelly Martin | 2012-04-26 12:54:10 -0500 |
|---|---|---|
| committer | Kelly Martin | 2012-04-26 12:54:10 -0500 |
| commit | 53e0ba8b8d047a8cd4edd1a8067c218080e6e889 (patch) | |
| tree | 7413df8cea250317dd9dc78594b0a44a17b7f28e /plugins/autolabor.cpp | |
| parent | c0c790f58c9cf409492d615ffb5ef6d4ba26fbd0 (diff) | |
| download | dfhack-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.cpp | 1 |
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++) |
