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

fix conveyance

parent f7fde413
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,7 @@ newTalent{
_, _, _, tx, ty = self:canProject(tg, tx, ty)
if tx then
target = game.level.map(tx, ty, Map.ACTOR)
if target ~= aitarget then target = self end
if ai_target and target ~= aitarget then target = self end
end
end
end
......@@ -183,7 +183,7 @@ newTalent{
_, _, _, tx, ty = self:canProject(tg, tx, ty)
if tx then
target = game.level.map(tx, ty, Map.ACTOR)
if target ~= aitarget then target = self end
if ai_target and target ~= aitarget then target = self end
end
end
end
......
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