Skip to content

Commit e4ef7cc

Browse files
committed
Fix comment
1 parent 119eeeb commit e4ef7cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def check_level_up(self): # check if user has leveled up
4949
self.xp_required
5050
+ max(1.0, self.xp_required * 1.0 / math.sqrt(self.level))
5151
),
52-
)
52+
) # increase XP required exponentially with slower growth at higher levels
5353
self.level += 1 # increase level
5454

5555
def get_xp_required(self): # get required XP to next level

0 commit comments

Comments
 (0)