From 8fa0d0b68e438f966d9f744605a314cbb6ca547d Mon Sep 17 00:00:00 2001 From: Jeremiah Billmann Date: Fri, 26 Jul 2013 15:22:39 -0400 Subject: [PATCH] Progress: Documentation --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b5d622c..6ee6e39 100644 --- a/README.md +++ b/README.md @@ -81,11 +81,11 @@ GarageServerIO.addInput(myInput); ```js GarageServerIO.getStates(function (playerStates, entityStates) { playerStates.forEach(function (player) { - ctxCanvas.fillRect(player.state.x, player.state.y, 5, 5); + ctxCanvas.fillRect(player.state.x, 0, 5, 5); }); entityStates.forEach(function (entity) { - ctxCanvas.fillRect(entity.state.x, entity.state.y, 5, 5); + ctxCanvas.fillRect(entity.state.x, 0, 5, 5); }); }); ```