a small bug in ActorTalents.lua

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
starsapphire
Thalore
Posts: 132
Joined: Sat Sep 27, 2014 11:33 am
Location: Irkkk

a small bug in ActorTalents.lua

#1 Post by starsapphire »

http://git.net-core.org/darkgod/t-engin ... ts.lua#L54
"chronomancy/other" type is added both in ./data/talents/chronomancy/chronomancer.lua and ./data/talents/misc/npcs.lua
"psionic/other" type is added both in ./data/talents/psionic/psionic.lua and ./data/talents/misc/npcs.lua and ./data/talents/misc/npcs.lua
So

Code: Select all

	self.talents_types_def[t.type] = t
will let the second defination displace the first one and empty its content.
It should be

Code: Select all

	self.talents_types_def[t.type] = self.talents_types_def[t.type] or t
Found while I couldn't find dredge frenzy in tometips.

Post Reply