Skip to content

Commit

Permalink
release: 0.9.1 (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
devxb authored Nov 13, 2024
2 parents 07220b3 + faaab5b commit 73c614b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/org/gitanimals/render/domain/User.kt
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ class User(
val increasePersona = personas.first { it.id == increasePersonaId }
val deletePersona = personas.first { it.id == deletePersonaId }

increasePersona.level.value += deletePersona.level.value
increasePersona.level.value += max(deletePersona.level.value / 2, 1)

personas.remove(deletePersona)

Expand Down

0 comments on commit 73c614b

Please sign in to comment.