Commit ecb5c42e42148bd1d2df1e044a4ba2a529cb7bec

Authored by DarkGod
1 parent 0c2aa037

Fixed Oozewalk being able to enter vaults

@@ -292,6 +292,7 @@ newTalent{ @@ -292,6 +292,7 @@ newTalent{
292 if not x then return nil end 292 if not x then return nil end
293 if not isOnMucus(game.level.map, x, y) then return nil end 293 if not isOnMucus(game.level.map, x, y) then return nil end
294 if not self:canMove(x, y) then return nil end 294 if not self:canMove(x, y) then return nil end
  295 + if not self:hasLOS(x, y) then return nil end
295 296
296 local energy = 1 - t.getEnergy(self, t) 297 local energy = 1 - t.getEnergy(self, t)
297 self.energy.value = self.energy.value + game.energy_to_act * self.energy.mod * energy 298 self.energy.value = self.energy.value + game.energy_to_act * self.energy.mod * energy