Skip to content

Commit

Permalink
[ 1.7.4 ] Fix compilation error.
Browse files Browse the repository at this point in the history
1.7.4 released.
  • Loading branch information
ice1000 committed Dec 7, 2017
1 parent bc6af44 commit 4061a75
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/org/frice/utils/time/FClock.kt
Expand Up @@ -8,19 +8,19 @@ import org.frice.utils.unless
* @author ice1000
*/
object FClock {
@get:JvmStatic
@JvmStatic
var started = true
@JvmName(" ") internal set

@get:JvmStatic
@JvmStatic
var startTicks = System.currentTimeMillis()
@JvmName(" ") internal set

@get:JvmStatic
@JvmStatic
var pauseTicks = startTicks
@JvmName(" ") internal set

@get:JvmStatic
@JvmStatic
val current: Long
get() = if (started) System.currentTimeMillis() - startTicks else pauseTicks - startTicks

Expand Down

0 comments on commit 4061a75

Please sign in to comment.