Changes

no edit summary
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 = not self._ship._hp_max
 
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()
cssedit, gkautomate
7,064

edits