diff --git a/TWANG32/Player.h b/TWANG32/Player.h index fe3ef5e..acfa526 100644 --- a/TWANG32/Player.h +++ b/TWANG32/Player.h @@ -93,8 +93,13 @@ void Player::Kill(){ } void Player::Spawn(int pos){ - captured = false; - moveto(pos); + if (_lives <= 0) { + // Serial.printf("Player %d has no life. Not Spawning\n", _id); + captured = true; + } else { + captured = false; + moveto(pos); + } } int Player::Lives() const{