Fixed sequence error
This commit is contained in:
parent
044ea4499d
commit
1b4534ec83
1 changed files with 2 additions and 2 deletions
|
@ -146,11 +146,11 @@ object RenderMultimeter extends ISimpleItemRenderer
|
||||||
{
|
{
|
||||||
if (part.getNetwork.graphs(i).get != null && !(part.getNetwork.graphs(i).get == part.getNetwork.graphs(i).getDefault))
|
if (part.getNetwork.graphs(i).get != null && !(part.getNetwork.graphs(i).get == part.getNetwork.graphs(i).getDefault))
|
||||||
{
|
{
|
||||||
information += part.getNetwork.getDisplay(i)
|
information :+= part.getNetwork.getDisplay(i)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (information.size <= 0) information += LanguageUtility.getLocal("tooltip.noInformation")
|
if (information.size <= 0) information :+= LanguageUtility.getLocal("tooltip.noInformation")
|
||||||
|
|
||||||
val displacement = 0.72f / information.size
|
val displacement = 0.72f / information.size
|
||||||
val maxScale = (part.getNetwork.size.x + part.getNetwork.size.z).asInstanceOf[Float] * 0.004f
|
val maxScale = (part.getNetwork.size.x + part.getNetwork.size.z).asInstanceOf[Float] * 0.004f
|
||||||
|
|
Loading…
Reference in a new issue