roads do not get a plotmarker
This commit is contained in:
parent
0fb20a6e49
commit
3e2a55a308
@ -36,6 +36,10 @@ end
|
||||
-- checks if the plot marker is still present; places a new one if needed
|
||||
-- p: plot data (position, size, orientation, owner, ..)
|
||||
mg_villages.check_plot_marker = function( p, plot_nr, village_id )
|
||||
-- roads cannot be bought
|
||||
if( p.btype and p.btype=="road" ) then
|
||||
return;
|
||||
end
|
||||
local plot_pos = { x=p.x, y=p.y, z=p.z };
|
||||
if( p.o==3 ) then
|
||||
plot_pos = { x=p.x, y=p.y+1, z=p.z-1 };
|
||||
|
||||
Loading…
Reference in New Issue
Block a user