mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
Initialized usr._temp when score function is skipped
This commit is contained in:
@@ -2338,6 +2338,7 @@ api.wrap = function(user, main) {
|
||||
if (analytics != null) {
|
||||
analytics.track('acquire item', analyticsData);
|
||||
}
|
||||
if (!user._tmp) user._tmp = {}
|
||||
return user._tmp.drop = {
|
||||
type: 'Quest',
|
||||
key: k
|
||||
|
||||
Reference in New Issue
Block a user