Fixed crash when rendering turbine blades due to scala changes
This commit is contained in:
parent
68fad2f49f
commit
9bc53c0b4a
1 changed files with 4 additions and 4 deletions
|
@ -49,28 +49,28 @@ import resonantinduction.core.Reference
|
|||
bindTexture(RenderElectricTurbine.SMALL_TEXTURE)
|
||||
val bladesA: Array[String] = new Array[String](3)
|
||||
|
||||
for (i <- 0 to bladesA.length)
|
||||
for (i <- 0 until bladesA.length)
|
||||
{
|
||||
bladesA(i) = "BLADE A" + (i + 1) + " SPINS"
|
||||
|
||||
}
|
||||
val sheildsA: Array[String] = new Array[String](6)
|
||||
|
||||
for (i <- 0 to sheildsA.length)
|
||||
for (i <- 0 until sheildsA.length)
|
||||
{
|
||||
sheildsA(i) = "SHIELD A" + (i + 1) + " SPINS"
|
||||
|
||||
}
|
||||
val bladesB: Array[String] = new Array[String](3)
|
||||
|
||||
for (i <- 0 to bladesB.length)
|
||||
for (i <- 0 until bladesB.length)
|
||||
{
|
||||
bladesB(i) = "BLADE B" + (i + 1) + " SPINS"
|
||||
|
||||
}
|
||||
val sheildsB: Array[String] = new Array[String](6)
|
||||
|
||||
for (i <- 0 to sheildsB.length)
|
||||
for (i <- 0 until sheildsB.length)
|
||||
{
|
||||
sheildsB(i) = "SHIELD B" + (i + 1) + " SPINS"
|
||||
|
||||
|
|
Loading…
Reference in a new issue