File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -411,7 +411,7 @@ def load_context(self, replay):
411411 if self .unit_id in replay .objects :
412412 # This can happen because game events are done first
413413 self .unit = replay .objects [self .unit_id ]
414- if self .unit .is_type (self .unit_type_name ):
414+ if not self .unit .is_type (self .unit_type_name ):
415415 print "CONFLICT {} <-_-> {}" .format (self .unit ._type_class .str_id , self .unit_type_name )
416416 else :
417417 # TODO: How to tell if something is hallucination?
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ def main():
8282 print pid , info
8383 for message in replay .raw_data ['replay.message.events' ].messages :
8484 print message .pid , message .text
85- print replay .raw_data ['replay.initData' ].player_names
85+ # print replay.raw_data['replay.initData'].player_names
8686 traceback .print_exc ()
8787 print
8888 except Exception as e2 :
You can’t perform that action at this time.
0 commit comments