Skip to content
Snippets Groups Projects
Commit 630ed700 authored by Harry Wyatt's avatar Harry Wyatt
Browse files

Fixed a bug with the stats command

parent 4cd2462b
No related branches found
No related tags found
No related merge requests found
......@@ -257,7 +257,7 @@ def display_stats():
bar_width = 30
xp = player.xp
required = player.level * 10
percentage = (xp / required) * 100
percentage = (xp / required) * bar_width
required_bar = " ["
for i in range(bar_width + 1):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment