From 8f5b826385db6dc051eeb9b17d76c22c46aa65fc Mon Sep 17 00:00:00 2001 From: Rabbit Whispers Date: Fri, 20 Jun 2025 18:19:04 -0500 Subject: bugfix: rime wraith no longer disappears when target dies --- rabbit-bugfix/hooks/load.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'rabbit-bugfix/hooks') diff --git a/rabbit-bugfix/hooks/load.lua b/rabbit-bugfix/hooks/load.lua index 7ae7c8d..55290e7 100644 --- a/rabbit-bugfix/hooks/load.lua +++ b/rabbit-bugfix/hooks/load.lua @@ -1,10 +1,9 @@ class:bindHook("ToME:load", function(self, data) local Talents = require 'engine.interface.ActorTalents' - local TD = Talents.talents_def -- update passives when adept is taken - if TD.T_ADEPT then - TD.T_ADEPT.passives = function(self, t, p) + if Talents.talents_def.T_ADEPT then + Talents.talents_def.T_ADEPT.passives = function(self, t, p) self:talentTemporaryValue(p, "all_talents_bonus_level", 1.5) if not self._updating_adept then -- cgit