File tree 1 file changed +40
-0
lines changed
1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ diff --git a/client.js b/fixed_client.js
2
+ index e2acbda..2371ded 100644
3
+ --- a/client.js
4
+ +++ b/fixed_client.js
5
+ @@ -330,10 +330,24 @@ var sendMove = function(){
6
+ return;
7
+ }
8
+
9
+ - api("action", {
10
+ - type: "move",
11
+ - direction: moveDir
12
+ - });
13
+ + api("action", {
14
+ + type: "move",
15
+ + direction: moveDir
16
+ + });
17
+ + if (keysDown[17]) {
18
+ + api("action", {
19
+ + type: "move",
20
+ + direction: moveDir
21
+ + });
22
+ + api("action", {
23
+ + type: "move",
24
+ + direction: moveDir
25
+ + });
26
+ + api("action", {
27
+ + type: "move",
28
+ + direction: moveDir
29
+ + });
30
+ + }
31
+ }
32
+
33
+ var clearGrid = function(){
34
+ @@ -1413,4 +1427,4 @@ var animate = function(){
35
+
36
+ lastAnimationTime = time;
37
+ renderer.render(gameContainer);
38
+ - }
39
+ \ No newline at end of file
40
+ + }
You can’t perform that action at this time.
0 commit comments