Ben Evans / Mbed 2 deprecated Defender_Game

Dependencies:   mbed

Revision:
40:71f947254fda
Parent:
36:27aa597db3d2
Child:
82:3211b31e9421
--- a/People/People.cpp	Sat May 16 21:08:54 2020 +0000
+++ b/People/People.cpp	Sun May 17 21:12:34 2020 +0000
@@ -40,7 +40,7 @@
 } 
 
 void People::collision_with_alien(){
-if(alien_collision_flag){
+if(alien_collision_flag && !alien_track){
     //people moves on its own but at half speed of spaceship 
     if (people_move_counter_%2 == 0) {
         if (random_move_counter_ == 0){