Skip to content

Commit 2c4a640

Browse files
committed
force gameheart to exit if game is played in LotV
1 parent b9caad9 commit 2c4a640

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sc2reader/engine/plugins/gameheart.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ def handleInitGame(self, event, replay):
3434
yield PluginExit(self, code=0, details=dict())
3535
return
3636

37+
# Exit plugin if game is LOTV as LOTV games dont use GameHeart
38+
if replay.expansion == "LotV":
39+
yield PluginExit(self, code=0, details=dict())
40+
return
41+
3742
start_frame = -1
3843
actual_players = {}
3944
for event in replay.tracker_events:

0 commit comments

Comments
 (0)