From a94e355b4c9dff3246d8f4eb2c6fb03ef26f2910 Mon Sep 17 00:00:00 2001 From: Tom Date: Mon, 11 May 2015 10:04:18 +0100 Subject: [PATCH] Update README.md LUA has only tables. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4e9c371..eddc168 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ local fsm = machine.create({ { name = 'eat', from = 'hungry', to = 'satisfied' }, { name = 'eat', from = 'satisfied', to = 'full' }, { name = 'eat', from = 'full', to = 'sick' }, - { name = 'rest', from = ['hungry', 'satisfied', 'full', 'sick'], to = 'hungry' }, + { name = 'rest', from = {'hungry', 'satisfied', 'full', 'sick'}, to = 'hungry' }, }}) ```