Fixed code snippet

To make it look close to Lua code :)
Merge pull request #1 from Yonaba/master

Fixed code snippet