From 3c2025ab44ab5ccc1b99d9876d19ebcd05604790 Mon Sep 17 00:00:00 2001 From: Vasyl Horbachenko Date: Sun, 15 Jul 2018 04:20:55 +0300 Subject: [PATCH] minor hotfixes in mp debriefing (WIP) --- userdata/debriefing.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/userdata/debriefing.py b/userdata/debriefing.py index e9cb937f..1a6c0bb7 100644 --- a/userdata/debriefing.py +++ b/userdata/debriefing.py @@ -29,18 +29,18 @@ def parse_mutliplayer_debriefing(contents: str): for line in [x.strip() for x in contents.splitlines()]: if line.startswith("events ="): in_events = True - elif line.startswith("}, -- end of events"): + elif line.startswith("} -- end of events"): in_events = False if not in_events: continue key = None - if line.startswith("initiator"): + if line.startswith("initiator\t"): key = "initiator" if element is None: element = {} - elif line.startswith("type"): + elif line.startswith("type\t"): key = "type" if element is None: element = {}