Skip to content

Commit

Permalink
Fix screens occasionally not rendering anything until the first updat…
Browse files Browse the repository at this point in the history
…e to what they're displaying.
  • Loading branch information
fnuecke committed Nov 14, 2015
1 parent bc97331 commit d861552
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/scala/li/cil/oc/common/component/TextBuffer.scala
Expand Up @@ -93,7 +93,10 @@ class TextBuffer(val host: EnvironmentHost) extends prefab.ManagedEnvironment wi

val data = new util.TextBuffer(maxResolution, PackedColor.Depth.format(maxDepth))

def markInitialized(): Unit = syncCooldown = -1 // Stop polling for init state.
def markInitialized(): Unit = {
syncCooldown = -1 // Stop polling for init state.
relativeLitArea = -1
}

// ----------------------------------------------------------------------- //

Expand Down

0 comments on commit d861552

Please sign in to comment.