From e6e63ad96ecf183e735b0e7156897fae7fe84022 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 16 Feb 2015 04:59:44 -0500 Subject: [PATCH] v0.2.4: fixed a bug with signs --- .../levels/features/Sign.java | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/levels/features/Sign.java b/src/com/shatteredpixel/shatteredpixeldungeon/levels/features/Sign.java index 82c9eb6d7..8caf59525 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/levels/features/Sign.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/levels/features/Sign.java @@ -103,17 +103,18 @@ public class Sign { if (index < TIPS.length) { GameScene.show( new WndMessage( TIPS[index] ) ); - if (index >= 21) - - Level.set( pos, Terrain.EMBERS ); - GameScene.updateMap( pos ); - GameScene.discoverTile( pos, Terrain.SIGN ); + if (index >= 21) { + + Level.set( pos, Terrain.EMBERS ); + GameScene.updateMap( pos ); + GameScene.discoverTile( pos, Terrain.SIGN ); + + GLog.w( TXT_BURN ); + + CellEmitter.get( pos ).burst( ElmoParticle.FACTORY, 6 ); + Sample.INSTANCE.play( Assets.SND_BURNING ); + } - GLog.w( TXT_BURN ); - - CellEmitter.get( pos ).burst( ElmoParticle.FACTORY, 6 ); - Sample.INSTANCE.play( Assets.SND_BURNING ); - } } }