mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-10 02:31:48 +00:00
Fixed start
state inclusion in state_machine
This commit is contained in:
parent
7185a91fc5
commit
f4a924aced
@ -31,7 +31,7 @@ function state_machine:new(states, start)
|
||||
self = self:init({
|
||||
states = states or {},
|
||||
current_state = "",
|
||||
start_state = "",
|
||||
start_state = start,
|
||||
})
|
||||
|
||||
self:reset()
|
||||
|
Loading…
Reference in New Issue
Block a user