v0.9.3: fixed preparation persisting when cloak is deactivated

This commit is contained in:
Evan Debenham 2021-05-05 21:03:34 -04:00
parent 720f6a6590
commit 6530f0401a

View File

@ -98,6 +98,9 @@ public class CloakOfShadows extends Artifact {
} else {
activeBuff.detach();
activeBuff = null;
if (hero.buff(Preparation.class) != null){
hero.buff(Preparation.class).detach();
}
hero.sprite.operate( hero.pos );
}