Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -94,7 +94,7 @@ function checkMaxSummon(self, silent, div, check_attr) |
94 | 94 | for act, def in pairs(game.party.members) do |
95 | 95 | if act.summoner and act.summoner == self and act.wild_gift_summon and (not check_attr or act:attr(check_attr)) then nb = nb + 1 end |
96 | 96 | end |
97 | - else | |
97 | + elseif game.level then | |
98 | 98 | for _, act in pairs(game.level.entities) do |
99 | 99 | if act.summoner and act.summoner == self and act.wild_gift_summon and (not check_attr or act:attr(check_attr)) then nb = nb + 1 end |
100 | 100 | end | ... | ... |
-
Please register or login to post a comment