Fix level up screen showing wrong level

This commit is contained in:
Phillip Thelen 2019-10-29 12:15:39 +01:00
parent 2bd7617f79
commit f2701dfcd0

View file

@ -91,7 +91,6 @@ constructor(private val soundManager: SoundManager, threadExecutor: ThreadExecut
}
class RequestValues(val user: User, val activity: AppCompatActivity) : UseCase.RequestValues {
val newLevel: Int = user.stats?.lvl ?: 0
val newLevel: Int = (user.stats?.lvl ?: 0 ) + 1
}
}