diff --git a/src/jsds_crafty.js b/src/jsds_crafty.js
index f56066b..348fbb0 100644
--- a/src/jsds_crafty.js
+++ b/src/jsds_crafty.js
@@ -78,15 +78,13 @@
 			});
 			cur_sel=player[this.id];
 			cur_sel.printoutput();
+			cur_sel.sel_att();
 			this.enableControl();
 		    };
 		    if(e.mouseButton === Crafty.mouseButtons.RIGHT) {
 			if ( !cur_sel ) { return; };
-			if ( cur_sel == player[this.id] )
+			if ( cur_sel != player[this.id] )
 			{
-			    cur_sel.sel_att();
-			}
-			else {
 			    cur_sel.attack(player[this.id]);
 			};
 		    };