Skip to content

Commit a94e355

Browse files
committed
Update README.md
LUA has only tables.
1 parent 0844fbe commit a94e355

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ local fsm = machine.create({
6767
{ name = 'eat', from = 'hungry', to = 'satisfied' },
6868
{ name = 'eat', from = 'satisfied', to = 'full' },
6969
{ name = 'eat', from = 'full', to = 'sick' },
70-
{ name = 'rest', from = ['hungry', 'satisfied', 'full', 'sick'], to = 'hungry' },
70+
{ name = 'rest', from = {'hungry', 'satisfied', 'full', 'sick'}, to = 'hungry' },
7171
}})
7272
```
7373

0 commit comments

Comments
 (0)