From 23c611a13e3bae6517ec16696ae16f9412c00214 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 26 Jan 2015 20:28:17 -0500 Subject: [PATCH] v0.2.3f: fixed wand recharging something multiplying due to the wand holster --- .../shatteredpixel/shatteredpixeldungeon/items/wands/Wand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/Wand.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/Wand.java index 79e4177a2..af596e665 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/Wand.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/wands/Wand.java @@ -191,7 +191,7 @@ public abstract class Wand extends KindOfWeapon { }; public void charge( Char owner ) { - (charger = new Charger()).attachTo( owner ); + if (charger == null) (charger = new Charger()).attachTo( owner ); } @Override