From 0f77700250507c036229d7536ed676139aa37b0b Mon Sep 17 00:00:00 2001
From: Eric Wykoff <ericwykoff@yahoo.com>
Date: Wed, 1 Apr 2015 07:34:18 -0500
Subject: [PATCH] sanity checks

---
 .../modules/tome/data/talents/chronomancy/temporal-hounds.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/game/modules/tome/data/talents/chronomancy/temporal-hounds.lua b/game/modules/tome/data/talents/chronomancy/temporal-hounds.lua
index 64dd3f1a87..3277e8c962 100644
--- a/game/modules/tome/data/talents/chronomancy/temporal-hounds.lua
+++ b/game/modules/tome/data/talents/chronomancy/temporal-hounds.lua
@@ -197,14 +197,14 @@ newTalent{
 		if game.party:hasMember(self) then
 			for i=1, p.hounds do
 				local e = game.party:findMember({type="hound"})
-				if e.summoner and e.summoner == self and e.name == "temporal hound" then
+				if e and e.summoner and e.summoner == self and e.name == "temporal hound" then
 					e.summon_time = 0
 					game.party:removeMember(e, true)
 				end
 			end
 		else
 			for _, e in pairs(game.level.entities) do
-				if e.summoner and e.summoner == self and e.name == "temporal hound" then
+				if e and e.summoner and e.summoner == self and e.name == "temporal hound" then
 					e.summon_time = 0
 				end
 			end
-- 
GitLab