mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Make minimum game client version configurable
This commit is contained in:
1 parent
b06fe37829
commit
49255e7e7c
5 files changed
+20
-4
No files matched your search
@@ -296,6 +296,7 @@ impl <C: Clone + Send> super::ConfigProvider<C> for CubeConfig {
|
||||
cdn_url: self.settings.server.cdn_url.trim_end_matches('/').to_owned(),
|
||||
auth_url: self.settings.server.auth_url.trim_end_matches('/').to_owned(),
|
||||
intercom_url: self.settings.server.intercom_url.trim_end_matches('/').to_owned(),
|
||||
minimum_version: self.settings.server.min_version as i32,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -91,6 +91,7 @@ pub struct ServerConfig {
|
||||
pub cdn_url: String,
|
||||
pub auth_url: String,
|
||||
pub intercom_url: String,
|
||||
pub minimum_version: i32,
|
||||
}
|
||||
|
||||
pub enum QueueChangeMode {
|
||||
|
||||
Reference in new issue
Block a user