Skip to content

Commit

Permalink
Fix Quickplay map selection was disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-r-elp committed Dec 22, 2023
1 parent 2920756 commit 491bc96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BeatTogether.DedicatedServer.Kernel/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public sealed class Player : IPlayer
public GameplayModifiers Modifiers { get; set; } = new();
public PlayerStateHash State { get; set; } = new();
public bool IsServerOwner => UserId == Instance._configuration.ServerOwnerId;
public bool CanRecommendBeatmaps => Instance._configuration.GameplayServerControlSettings is not GameplayServerControlSettings.None;
public bool CanRecommendBeatmaps => true;// This check is wrong as GameplayServerControlSettings is None in Quickplay to disable Modifier selection //Instance._configuration.GameplayServerControlSettings is not GameplayServerControlSettings.None;
public bool CanRecommendModifiers =>
Instance._configuration.GameplayServerControlSettings is GameplayServerControlSettings.AllowModifierSelection or GameplayServerControlSettings.All;
public bool CanKickVote => UserId == Instance._configuration.ServerOwnerId;
Expand Down

0 comments on commit 491bc96

Please sign in to comment.