mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
Revert "Show accurate XP gain in notification on level up (#10590)"
This reverts commit 1f7dd421d4.
This commit is contained in:
@@ -47,6 +47,6 @@ export function round (number, nDigits) {
|
||||
}
|
||||
|
||||
export function getXPMessage (val) {
|
||||
if (val < -50) return; // don't show when they multi-level up (resetting their exp)
|
||||
if (val < -50) return; // don't show when they level up (resetting their exp)
|
||||
return `${getSign(val)} ${round(val)}`;
|
||||
}
|
||||
Reference in New Issue
Block a user