fixed bug in one building and amount of beds
This commit is contained in:
parent
74eb79fd82
commit
6cbb3086a5
@ -380,7 +380,8 @@ mg_villages.add_building = function( building_data )
|
||||
local paths = mg_villages.path_info[ building_data.short_file_name];
|
||||
if( paths and paths[1] ) then
|
||||
for i,p in ipairs( paths[1] ) do
|
||||
if( p and p[1]) then
|
||||
-- the last entry has a diffrent meaning
|
||||
if( p and p[1] and i<#paths[1]) then
|
||||
building_data.bed_list[i] = p[1];
|
||||
-- also store where the mob may stand
|
||||
if( p[2] ) then
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user