max life 1min

This commit is contained in:
sparshg 2023-01-14 13:33:19 +05:30
parent bd57af3447
commit 50a0c51e64
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ impl Player {
// .unwrap();
// }
// }
if asteroid.check_collision(self.pos, 8.) || self.lifespan > 4000 && self.brain.is_some() {
if asteroid.check_collision(self.pos, 8.) || self.lifespan > 3600 && self.brain.is_some() {
self.alive = false;
return true;
}