Changes
mLine 551:
Line 551:
− +
− self._ship:id() >= 1722
no edit summary
return false
return false
end
end
local is_enemy = self._ship:id() >= 501 and self._ship:_id() <= 721 or
local is_enemy = (self._ship:id() >= 501 and self._ship:_id() <= 721) or self._ship:id() >= 1722
local is_enemy_submarine = is_enemy and self:_is_submarine()
local is_enemy_submarine = is_enemy and self:_is_submarine()
local is_player_submarine = not is_enemy and self:_is_submarine()
local is_player_submarine = not is_enemy and self:_is_submarine()