mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-22 14:14:36 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
b63cb34f41
@ -167,7 +167,7 @@ function state_machine:as_state(enter_state)
|
|||||||
self._as_state = {
|
self._as_state = {
|
||||||
enter = function(m, s)
|
enter = function(m, s)
|
||||||
self.parent = m
|
self.parent = m
|
||||||
self:set_state(enter_state)
|
self:set_state(enter_state, true)
|
||||||
end,
|
end,
|
||||||
update = function(m, s, dt)
|
update = function(m, s, dt)
|
||||||
return self:update(dt)
|
return self:update(dt)
|
||||||
|
Loading…
Reference in New Issue
Block a user