a tradehouse is not a home
This commit is contained in:
parent
47cbb32dc4
commit
ba54e49029
|
@ -94,7 +94,7 @@ this.pickPublicHouseType = function(cell)
|
||||||
return this.publicHouseTypes.temples
|
return this.publicHouseTypes.temples
|
||||||
elseif id:match("canalworks") or cell.id:match("waistworks") then
|
elseif id:match("canalworks") or cell.id:match("waistworks") then
|
||||||
return this.publicHouseTypes.cantonworks
|
return this.publicHouseTypes.cantonworks
|
||||||
elseif id:match("house") or id:match("manor") or id:match("tower") then
|
elseif (id:match("house") and not id:match("trade")) or id:match("manor") or id:match("tower") then
|
||||||
return this.publicHouseTypes.homes
|
return this.publicHouseTypes.homes
|
||||||
else
|
else
|
||||||
return this.publicHouseTypes.inns
|
return this.publicHouseTypes.inns
|
||||||
|
|
Loading…
Reference in a new issue