v0.4.2b: fixed a bug where a certain cursed wand effect would never trigger
This commit is contained in:
parent
940363c3bc
commit
a99803117b
|
@ -59,6 +59,7 @@ import com.shatteredpixel.shatteredpixeldungeon.levels.traps.CursingTrap;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.levels.traps.LightningTrap;
|
import com.shatteredpixel.shatteredpixeldungeon.levels.traps.LightningTrap;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.levels.traps.SummoningTrap;
|
import com.shatteredpixel.shatteredpixeldungeon.levels.traps.SummoningTrap;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.mechanics.Ballistica;
|
import com.shatteredpixel.shatteredpixeldungeon.mechanics.Ballistica;
|
||||||
|
import com.shatteredpixel.shatteredpixeldungeon.messages.Languages;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
|
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.plants.Plant;
|
import com.shatteredpixel.shatteredpixeldungeon.plants.Plant;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.scenes.GameScene;
|
import com.shatteredpixel.shatteredpixeldungeon.scenes.GameScene;
|
||||||
|
@ -401,7 +402,7 @@ public class CursedWand {
|
||||||
case 2:
|
case 2:
|
||||||
try {
|
try {
|
||||||
Dungeon.saveAll();
|
Dungeon.saveAll();
|
||||||
if(!Messages.get(CursedWand.class, "nothing").equals("nothing happens")){
|
if(Messages.lang() != Languages.ENGLISH){
|
||||||
//Don't bother doing this joke to none-english speakers, I doubt it would translate.
|
//Don't bother doing this joke to none-english speakers, I doubt it would translate.
|
||||||
GLog.i(Messages.get(CursedWand.class, "nothing"));
|
GLog.i(Messages.get(CursedWand.class, "nothing"));
|
||||||
wand.wandUsed();
|
wand.wandUsed();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user