death only matters on foot

This commit is contained in:
Florian Stinglmayr 2023-05-25 17:33:59 +02:00
parent d7dc9bd904
commit 6a36458026

View File

@ -667,6 +667,10 @@ internal class ReceiveTextParser : ITransactionParserPart {
internal class DiedParser : ITransactionParserPart {
public void Parse(Entry entry, TransactionParserContext context, TransactionParserOptions options, TransactionList transactions) {
// Death only matters in ship. On foot you can just redeploy with the dropship.
if (context.IsOnFoot) {
return;
}
// You can't complete a combat zone if you die in it. Others might keep it open
// for you, but still you will not have completed it unless you jump back in.
context.ResetCombatZone();