Just some minor issues like dead code.
This commit is contained in:
Jeija
2014-11-21 21:43:28 +01:00
parent d325292291
commit dcf1f799c5
3 changed files with 7 additions and 6 deletions

View File

@ -44,7 +44,8 @@ end
-- However, even that does not work in some cases, that's why we delay the time the globalsteps
-- start to be execute by 5 seconds
local get_highest_priority = function (actions)
local highestp = -1, highesti
local highestp = -1
local highesti
for i, ac in ipairs(actions) do
if ac.priority > highestp then
highestp = ac.priority