Changes

m
_id
Line 551: Line 551:  
return false
 
return false
 
end
 
end
local is_enemy = (self._ship:id() >= 501 and self._ship:_id() <= 721) or self._ship:id() >= 1722
+
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()
Anonymous user