Initialized usr._temp when score function is skipped

This commit is contained in:
Keith Holliday
2015-11-29 11:11:06 -06:00
parent 5e105a0e45
commit 06ee603942

View File

@@ -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