Skip to content

Commit c22d7ee

Browse files
authored
fix some stuff that isn't classic
1 parent abe02c7 commit c22d7ee

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/components/quickplay/ServerFinder.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,7 @@ export default function ServerFinder({ hash }: { hash: string }) {
741741
server.name = filterString(server.name);
742742
// If we're in the server list, we can choose to connect to a server with only one slot left
743743
if (
744+
!quickplayStore.classicMode &&
744745
quickplayStore.searching === 2 &&
745746
server.score < -50 &&
746747
server.players < server.max_players
@@ -759,7 +760,7 @@ export default function ServerFinder({ hash }: { hash: string }) {
759760
filtered += 1;
760761
continue;
761762
}
762-
if (quickplayStore.searching === 1 && server.gametype.some((t) => DISALLOWED_GAMETYPES_IN_SEARCHING.has(t))) {
763+
if (!quickplayStore.classicMode && quickplayStore.searching === 1 && server.gametype.some((t) => DISALLOWED_GAMETYPES_IN_SEARCHING.has(t))) {
763764
filtered += 1;
764765
continue;
765766
}

0 commit comments

Comments
 (0)