Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
force gameheart to exit if game is played in LotV
  • Loading branch information
Andrene committed May 3, 2022
commit 2c4a640e0b94e32eceb23a8636f5fb8809e61f17
5 changes: 5 additions & 0 deletions sc2reader/engine/plugins/gameheart.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ def handleInitGame(self, event, replay):
yield PluginExit(self, code=0, details=dict())
return

# Exit plugin if game is LOTV as LOTV games dont use GameHeart
if replay.expansion == "LotV":
yield PluginExit(self, code=0, details=dict())
return

start_frame = -1
actual_players = {}
for event in replay.tracker_events:
Expand Down