Skip to content

Commit

Permalink
Fix Run Overview not displaying properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Oxyopiia committed Apr 30, 2024
1 parent d892820 commit 64c7e49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ data class ExpeditionRun(
@Expose var barrelsCollected: Int = 0,
@Expose var endTime: Long? = null
) {
fun isActive(): Boolean = endTime != null && startTime >= 0
fun isActive(): Boolean = endTime == null && startTime > 0 && ExpeditionAPI.isInExpedition()
fun roomIsCompleteAndWaiting(): Boolean = gameState % 2 == 1
}

0 comments on commit 64c7e49

Please sign in to comment.