From 4721a9476c8df2b654c0dfca3c434456ece377f7 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 30 Aug 2014 18:27:57 -0400 Subject: [PATCH] V0.2.0: Cloak of Shadows now properly stores exp over save/load --- .../shatteredpixeldungeon/items/artifacts/CloakOfShadows.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/CloakOfShadows.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/CloakOfShadows.java index bd1d0e081..1ff5dbd98 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/CloakOfShadows.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/CloakOfShadows.java @@ -228,6 +228,7 @@ public class CloakOfShadows extends Artifact { super.storeInBundle(bundle); bundle.put("stealthed", stealthed); bundle.put("cooldown", cooldown); + bundle.put("exp", exp); } @Override @@ -235,5 +236,6 @@ public class CloakOfShadows extends Artifact { super.restoreFromBundle(bundle); stealthed = bundle.getBoolean("stealthed"); cooldown = bundle.getInt("cooldown"); + exp = bundle.getInt("exp"); } }