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

fixed Projectile:makeProject never using the name from "tg"

parent 969365ce
No related branches found
No related tags found
No related merge requests found
......@@ -261,7 +261,7 @@ function _M:makeProject(src, display, def, do_move, do_act, do_stop)
local name = def.tg.name
if def.tg.talent then
speed = src:getTalentProjectileSpeed(def.tg.talent) or speed
name = def.tg.talent.name
name = name or def.tg.talent.name
def.tg.talent_id = def.tg.talent.id
def.tg.talent = nil
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