gun slinger!

This commit is contained in:
theory 2014-09-24 12:12:26 -07:00
parent 81ad933994
commit d682a119d7

View File

@ -123,7 +123,7 @@
});
}
game.fire = function(){
alert("bang!");
console.log('bang', me);
if(!me.started || me.fired){ return }
me.fired = (+ new Date());
if(me.fired < me.scheduled){ // DQ
@ -132,6 +132,7 @@
return;
}
gun.path('dqed').get(function(yes){
alert("DQed! " + yes);
if(yes){ return }
game.$duel.css({background: 'gold'}).find('h2').text("STOP!");
gun.path('sling').set(me.player);