Commit c990dd4080f0ae535dec69d43a024bd23f600efe

Authored by K'van
1 parent dbb550c0

Fix bone shield resting forever on world map.

... ... @@ -194,6 +194,7 @@ newTalent{
194 194 return "#LIGHT_GREEN#"..p.nb.."/"..t.getNb(self, t).."#LAST#", "buff_font_smaller"
195 195 end,
196 196 callbackOnRest = function(self, t)
  197 + if game and game.zone and game.zone.wilderness then return end
197 198 local nb = t.getNb(self, t)
198 199 local p = self.sustain_talents[t.id]
199 200 if not p or p.nb < nb then return true end
... ...