diff --git a/examples/admin/duel.html b/examples/admin/duel.html index 36dcabed..2503d40b 100644 --- a/examples/admin/duel.html +++ b/examples/admin/duel.html @@ -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);