Commit ecb5c42e42148bd1d2df1e044a4ba2a529cb7bec
1 parent
0c2aa037
Fixed Oozewalk being able to enter vaults
Showing
1 changed file
with
1 additions
and
0 deletions
... | ... | @@ -292,6 +292,7 @@ newTalent{ |
292 | 292 | if not x then return nil end |
293 | 293 | if not isOnMucus(game.level.map, x, y) then return nil end |
294 | 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 | 297 | local energy = 1 - t.getEnergy(self, t) |
297 | 298 | self.energy.value = self.energy.value + game.energy_to_act * self.energy.mod * energy | ... | ... |
-
Please register or login to post a comment