v0.2.4: fixed a bug with signs
This commit is contained in:
parent
40278956af
commit
e6e63ad96e
|
@ -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 );
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user