Skip to content
Snippets Groups Projects
Commit 1fa2bfed authored by DarkGod's avatar DarkGod
Browse files

Fixed actor execution loop to crrectly resume at the next actor after the...

Fixed actor execution loop to crrectly resume at the next actor after the pause: aka this should fix Through the Crowd
parent 5c81730a
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ end
--- Run tick on a level
function _M:tickLevel(level)
local i, e
local i, e = 1, nil
local arr = level.e_array
if level.last_iteration then
......@@ -105,7 +105,7 @@ function _M:tickLevel(level)
-- print("=====LEVEL", level.level, level.sublevel_id, "resuming tick loop at ", i, arr[i].name)
end
for i = 1, #arr do
for i = i, #arr do
e = arr[i]
if e and e.act and e.energy then
if e.actBase and e.energyBase then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment