Skip to content
Snippets Groups Projects
Commit 0f777002 authored by Eric Wykoff's avatar Eric Wykoff
Browse files

sanity checks

parent 7b3141e4
No related branches found
No related tags found
3 merge requests!249More fixes,!248More fixes,!247More fixes
......@@ -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
......
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