Made hack-wish work properly.

develop
Putnam3145 2014-08-29 18:43:22 -07:00
parent ee82218147
commit baeb894502
1 changed files with 3 additions and 3 deletions

@ -198,6 +198,8 @@ end
scriptArgs={...}
utils=require('utils')
validArgs = validArgs or utils.invert({
'startup',
'all',
@ -206,8 +208,6 @@ validArgs = validArgs or utils.invert({
'multi'
})
utils=require('utils')
args = utils.processArgs({...}, validArgs)
eventful=require('plugins.eventful')
@ -220,4 +220,4 @@ else
if not reaction.code:find('DFHACK_WISH') then return nil end
hackWish(unit)
end
end
end