Major pipeline changes to map building, introducing 3player map, and adding Shared build mode to level authoring options
This commit is contained in:
parent
749c9203de
commit
2b1aee3e03
37 changed files with 5418 additions and 30 deletions
|
|
@ -353,7 +353,7 @@ namespace TD.Gameplay
|
|||
|
||||
foreach (var tile in GridCoordinates.GetFootprintTiles(anchor, def.FootprintSize))
|
||||
{
|
||||
if (loader.GetOwner(tile) != localSlot) return false;
|
||||
if (!loader.HasBuildPermission(tile, localSlot)) return false;
|
||||
if (loader.GetPlacement(tile) != PlacementState.Buildable) return false;
|
||||
if (loader.IsOccupied(tile)) return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue