mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Remove redundant cast
This commit is contained in:
parent
9039c00908
commit
2967565653
@ -78,7 +78,7 @@ namespace NewHorizons.Builder.Props
|
|||||||
if (propInfo.preventOverlap)
|
if (propInfo.preventOverlap)
|
||||||
{
|
{
|
||||||
if (points.Count == 0) break;
|
if (points.Count == 0) break;
|
||||||
var randomInd = (int)Random.Range(0, points.Count - 1);
|
var randomInd = Random.Range(0, points.Count - 1);
|
||||||
point = points[randomInd];
|
point = points[randomInd];
|
||||||
points.QuickRemoveAt(randomInd);
|
points.QuickRemoveAt(randomInd);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user