Should fix sided issue.

This commit is contained in:
Florian Nücke 2015-07-04 11:45:56 +02:00
parent 829038f612
commit fada3e43d9

View File

@ -135,7 +135,7 @@ class TextBuffer(val host: EnvironmentHost) extends prefab.ManagedEnvironment wi
_pendingCommands = None _pendingCommands = None
} }
if (syncCooldown > 0) { if (SideTracker.isClient && syncCooldown > 0) {
syncCooldown -= 1 syncCooldown -= 1
if (syncCooldown == 0) { if (syncCooldown == 0) {
syncCooldown = syncInterval syncCooldown = syncInterval