mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Minor typo in error message
This commit is contained in:
parent
9a458ed7a1
commit
f1246810c7
@ -60,7 +60,7 @@ namespace NewHorizons.Builder.Props
|
|||||||
{
|
{
|
||||||
if (info.hasCollision)
|
if (info.hasCollision)
|
||||||
{
|
{
|
||||||
throw new NotSupportedException($"Shapes do not support collision; set {info.hasCollision} to false and use a supported collider type (sphere, box, or capsule).");
|
throw new NotSupportedException($"Shapes do not support collision; set {nameof(info.hasCollision)} to false or use a supported collider type (sphere, box, or capsule).");
|
||||||
}
|
}
|
||||||
if (info.useShape.HasValue && !info.useShape.Value)
|
if (info.useShape.HasValue && !info.useShape.Value)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user