JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
track z-axis (layer) on server, use for view init
[peach-cgt.git] / server.coffee
index 46d48c5..80ad9c3 100644 (file)
@@ -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) ->