Skip to content

Commit

Permalink
fix for #55
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoshi-E committed Apr 21, 2023
1 parent 6a35013 commit 627cfa3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/arma/readLog.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ def processLogLine(self, line):
#builds mission blocks
def processMission(self, event, data):
try:
if self.maxMissions <= 0:
return
#new mission is being started
if(event == "Mission readname"):
self.Missions.append({"dict": {"Server sessionID": self.server_sessionID, event: data}, "data": []})
Expand Down

0 comments on commit 627cfa3

Please sign in to comment.