Skip to content

Commit 4ae8518

Browse files
authored
Remove trailing whitespace in snake.md (#512)
1 parent 83b1d1e commit 4ae8518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/tutorials/snake.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Find the `update()` function in *snake.script* and change the code to the follow
130130
```lua
131131
function update(self, dt)
132132
self.t = self.t + dt -- <1>
133-
if self.t >= 1.0 / self.speed then -- <2>
133+
if self.t >= 1.0 / self.speed then -- <2>
134134
local head = self.segments[#self.segments] -- <3>
135135
local newhead = {x = head.x + self.dir.x, y = head.y + self.dir.y} -- <4>
136136

0 commit comments

Comments
 (0)