mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
gun slinger!
This commit is contained in:
parent
81ad933994
commit
d682a119d7
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user