Skip to content

Commit

Permalink
Fixed Fire bucket not placeable #73
Browse files Browse the repository at this point in the history
  • Loading branch information
jellewie committed Nov 8, 2018
1 parent aaa98fd commit f10d62d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Assets/_Code/PublicCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ public enum BuildType
SpikedWall,
Stair,
FireBasket,
ReplaceWall
ReplaceWall,
Bridge,
BridgeStickTo
}
}

Expand Down
2 changes: 1 addition & 1 deletion Assets/_Code/Standalone/InHand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class InHand : MonoBehaviour
// Get all the colliders within a box slightly smaller than our collider, except those in the ground layer.
Collider[] Hits = Physics.OverlapBox(
boxCollider.bounds.center, //From the center
boxCollider.size / 2, //Size from the center to the edge
boxCollider.size / 2 - new Vector3(0.01f, 0.01f, 0.01f), //Size from the center to the edge
transform.rotation,
nonGroundLayerMask);

Expand Down
2 changes: 1 addition & 1 deletion Assets/_Data/buildings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"Gold": 0
},
"FirstFree": false,
"BuildType": 0,
"BuildType": 6,
"ClickSpecial": 0,
"DestroySpecial": 0
},
Expand Down

0 comments on commit f10d62d

Please sign in to comment.