Skip to content

Commit

Permalink
fix for #5
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonioSoler committed Apr 9, 2017
1 parent e207b40 commit 2e4aebc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions takaraisland.js
Original file line number Diff line number Diff line change
Expand Up @@ -1082,8 +1082,8 @@ function (dojo, declare) {
dojo.stopEvent( evt );
if( ! this.checkAction( 'recruit' ) )
{ return; }
dojo.removeClass( 'tile_'+this.getActivePlayerId()+'_3','borderpulse' ) ;
dojo.disconnect(this.recruitcon);
dojo.query(".borderpulse").removeClass("borderpulse");
dojo.forEach(this.recruitcon, dojo.disconnect);

if( this.checkAction( 'recruit' ) && (this.gamedatas.players[this.getActivePlayerId()]['gold']>=5 ) ) // Check that this action is possible at this moment
{
Expand Down

0 comments on commit 2e4aebc

Please sign in to comment.