Don't show Station Event announcements to players in the lobby. (#30886)
* Don't show Station Event announcements to players in the lobby. * fix pr --------- Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -179,5 +179,11 @@ namespace Content.Server.GameTicking
|
||||
// update server info to reflect new ready count
|
||||
UpdateInfoText();
|
||||
}
|
||||
|
||||
public bool UserHasJoinedGame(ICommonSession session)
|
||||
=> UserHasJoinedGame(session.UserId);
|
||||
|
||||
public bool UserHasJoinedGame(NetUserId userId)
|
||||
=> PlayerGameStatuses[userId] == PlayerGameStatus.JoinedGame;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user