Skip to content

Commit 18de28c

Browse files
Merge remote-tracking branch 'upstream/master' into SquidHack
2 parents 62ad45d + 5391205 commit 18de28c

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

changelog.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,18 @@ Template for new versions:
2626

2727
# Future
2828

29+
## New Tools
30+
31+
## New Features
32+
33+
## Fixes
34+
35+
## Misc Improvements
36+
37+
## Removed
38+
39+
# 52.03-r2
40+
2941
## New Tools
3042
- `autotraining`: new tool to assign citizens to a military squad when they need Martial Training
3143
- `gui/autotraining`: configuration tool for autotraining

husbandry.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ local function getAppropriateWorkshop(unit, collection)
116116
end
117117
end
118118
end
119-
return #closest.jobs < 10 and closest or nil
119+
return (closest and #closest.jobs < 10) and closest or nil
120120
end
121121

122122
local function shearCreature(unit, workshop)

0 commit comments

Comments
 (0)