Skip to content

Commit

Permalink
🔨 Add temperature restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
wonseok committed Jan 31, 2025
1 parent 0a3593e commit c0548d7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@ class MannerService(
profileEntity.manners += newMannerEntity
}
userEntity.temperature++
if (userEntity.temperature > 100) {
userEntity.temperature = 100.0
}
}
}

0 comments on commit c0548d7

Please sign in to comment.