Crash fix

This commit is contained in:
Anuken
2024-08-30 13:27:39 -04:00
parent acbd8bb190
commit f550538827

View File

@@ -171,7 +171,7 @@ public class GameService{
}
}
if(campaign() && player.unit().type.canBoost && player.unit().elevation >= 0.25f){
if(campaign() && !player.dead() && player.unit().type.canBoost && player.unit().elevation >= 0.25f){
boostUnit.complete();
}
});