X-Git-Url: https://jasonwoof.com/gitweb/?p=peach-cgt.git;a=blobdiff_plain;f=server.coffee;h=80ad9c35116e2335212a021526c95c7884ca9cc0;hp=46d48c594c06bf8d6542b4097f1609ee99e57deb;hb=711b95481e8373c56ce14f9d8b200f4204d13a36;hpb=3be596d7cfcd16a09505b8c68cad974d7b2901ac diff --git a/server.coffee b/server.coffee index 46d48c5..80ad9c3 100644 --- a/server.coffee +++ b/server.coffee @@ -161,8 +161,8 @@ new_game = (id) -> game.p1_queue = [] game.p2_queue = [] - game.on 'move', (agent, card, x, y) -> - forward_events.call this, 'move', agent, card, x, y + game.on 'move', (agent, card, x, y, z) -> + forward_events.call this, 'move', agent, card, x, y, z game.on 'mark', (agent, card, state) -> forward_events.call this, 'mark', agent, card, state game.on 'flip', (agent, card, state) ->