We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9458032 commit 0587772Copy full SHA for 0587772
Scripts/AimAtCursorPlayerCharacterController.cs
@@ -499,7 +499,7 @@ private bool LoopSetBuildingArea(int count)
499
500
buildingArea = tempTransform.GetComponent<BuildingArea>();
501
if (buildingArea == null ||
502
- (buildingArea.Entity && buildingArea.GetObjectId() == ConstructingBuildingEntity.ObjectId) ||
+ buildingArea.ObjectId == ConstructingBuildingEntity.ObjectId ||
503
!ConstructingBuildingEntity.buildingTypes.Contains(buildingArea.buildingType))
504
{
505
// Skip because this area is not allowed to build the building that you are going to build
0 commit comments