mirror of
https://git.mentality.rip/numas13/xash3d-master.git
synced 2025-01-08 22:17:55 +00:00
Not full condition is selected by full
filter
This commit is contained in:
parent
159aa1b084
commit
c587e0dab7
@ -68,7 +68,7 @@ impl<T> From<&ServerInfo<T>> for FilterFlags {
|
||||
flags.set(Self::DEDICATED, info.server_type == ServerType::Dedicated);
|
||||
flags.set(Self::SECURE, info.flags.contains(ServerFlags::SECURE));
|
||||
flags.set(Self::PASSWORD, info.flags.contains(ServerFlags::PASSWORD));
|
||||
flags.set(Self::NOT_EMPTY, info.players > 0); // XXX: and not full?
|
||||
flags.set(Self::NOT_EMPTY, info.players > 0);
|
||||
flags.set(Self::FULL, info.players >= info.max);
|
||||
flags.set(Self::NOPLAYERS, info.players == 0);
|
||||
flags.set(Self::NAT, info.flags.contains(ServerFlags::NAT));
|
||||
|
Loading…
Reference in New Issue
Block a user