Fix transform atidote unpin after using rebirthing fixes #13306 (#13400)

* Fix habits' dropdown list overlap

Fix habits' tags dropdown list to properly close after expanding
difficulties dropdown list so they don't overlap

* Fix transform antidote unpin after rebirth

Fix transformation buff antidote to properly unpin from Rewards section
after using Orb of Rebirth

* Revert "Fix habits' dropdown list overlap"

This reverts commit 6a72e27b89.

Co-authored-by: Sabe Jones <sabrecat@gmail.com>
This commit is contained in:
KoRnoliX
2021-08-27 01:05:59 +02:00
committed by GitHub
parent b3adc88138
commit 76fccd80ac

View File

@@ -8,6 +8,7 @@ import {
import equip from './equip';
import { removePinnedGearByClass } from './pinnedGearUtils';
import isFreeRebirth from '../libs/isFreeRebirth';
import setDebuffPotionItems from '../libs/setDebuffPotionItems';
const USERSTATSLIST = ['per', 'int', 'con', 'str', 'points', 'gp', 'exp', 'mp'];
@@ -108,6 +109,7 @@ export default function rebirth (user, tasks = [], req = {}, analytics) {
if (user.addNotification) user.addNotification('REBIRTH_ACHIEVEMENT');
user.stats.buffs = {};
setDebuffPotionItems(user);
return [
{ user, tasks },