Merge pull request #25 from yangruihan/master

fix README.md example error
This commit is contained in:
Calvin Rose 2020-11-03 07:18:04 -06:00 committed by GitHub
commit 821914795d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ local talkingSystem = tiny.processingSystem()
talkingSystem.filter = tiny.requireAll("name", "mass", "phrase")
function talkingSystem:process(e, dt)
e.mass = e.mass + dt * 3
print(("%s who weighs %d pounds, says %q."):format(e.name, e.mass, e.phrase)
print(("%s who weighs %d pounds, says %q."):format(e.name, e.mass, e.phrase))
end
local joe = {