572
edits
No edit summary |
No edit summary |
||
Line 316: | Line 316: | ||
-- Gets a Township building by name, e.g. Hunters Cabin | -- Gets a Township building by name, e.g. Hunters Cabin | ||
function p._GetBuildingByName(name) | function p._GetBuildingByName(name) | ||
return GameData.getEntityByName(Township.buildings, | return GameData.getEntityByName(Township.buildings, name) | ||
end | end | ||
edits