Skip to content

Commit

Permalink
Merge pull request #4 from KeiranY/master
Browse files Browse the repository at this point in the history
Fix: Pass through TimeAndWeather & Raid data to clients
  • Loading branch information
mihaicm93 committed Dec 2, 2023
2 parents bee7001 + e46ef9d commit b5f03c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/CoopMatch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ export class CoopMatch {

if(info.m === undefined) {
this.LastUpdateDateTime = new Date(Date.now());
if("RaidTimer" in info || "TimeAndWeather" in info) {
WebSocketHandler.Instance.sendToWebSockets(this.ConnectedUsers, JSON.stringify(info));
}
return;
}

Expand Down

0 comments on commit b5f03c6

Please sign in to comment.