v0.2.4: fixed a bug with signs

This commit is contained in:
Evan Debenham 2015-02-16 04:59:44 -05:00
parent 40278956af
commit e6e63ad96e

View File

@ -103,7 +103,7 @@ public class Sign {
if (index < TIPS.length) { if (index < TIPS.length) {
GameScene.show( new WndMessage( TIPS[index] ) ); GameScene.show( new WndMessage( TIPS[index] ) );
if (index >= 21) if (index >= 21) {
Level.set( pos, Terrain.EMBERS ); Level.set( pos, Terrain.EMBERS );
GameScene.updateMap( pos ); GameScene.updateMap( pos );
@ -113,6 +113,7 @@ public class Sign {
CellEmitter.get( pos ).burst( ElmoParticle.FACTORY, 6 ); CellEmitter.get( pos ).burst( ElmoParticle.FACTORY, 6 );
Sample.INSTANCE.play( Assets.SND_BURNING ); Sample.INSTANCE.play( Assets.SND_BURNING );
}
} }
} }