Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
peach-cgt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tweak hand caption and comments
[peach-cgt.git]
/
server.coffee
diff --git
a/server.coffee
b/server.coffee
index
089523a
..
82e4872
100644
(file)
--- a/
server.coffee
+++ b/
server.coffee
@@
-161,8
+161,8
@@
new_game = (id) ->
game.p1_queue = []
game.p2_queue = []
game.p1_queue = []
game.p2_queue = []
- game.on 'move', (agent, card, x, y, z) ->
- forward_events.call this, 'move', agent, card, x, y, z
+ game.on 'move', (agent, card, x, y, z, pile) ->
+ forward_events.call this, 'move', agent, card, x, y, z, pile
game.on 'mark', (agent, card, state) ->
forward_events.call this, 'mark', agent, card, state
game.on 'flip', (agent, card, state) ->
game.on 'mark', (agent, card, state) ->
forward_events.call this, 'mark', agent, card, state
game.on 'flip', (agent, card, state) ->