equal
deleted
inserted
replaced
740 end |
740 end |
741 |
741 |
742 function CheckChoiceRunawayAll() |
742 function CheckChoiceRunawayAll() |
743 for i= 1, 7 do |
743 for i= 1, 7 do |
744 local hog = natives[i] |
744 local hog = natives[i] |
745 if hog ~= spyHog and GetX(hog) >= runawayX and GetY(hog) >= runawayY and StoppedGear(hog) then |
745 if hog ~= nil and GetHealth(hog) and hog ~= spyHog and GetX(hog) >= runawayX and GetY(hog) >= runawayY and StoppedGear(hog) then |
746 return true |
746 return true |
747 end |
747 end |
748 end |
748 end |
749 return false |
749 return false |
750 end |
750 end |