diff --git a/.eslintrc.js b/.eslintrc.js
index 9a84ff9..e7f3667 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -24,6 +24,7 @@ module.exports = {
'operator-linebreak' : [ 'error', 'before' ],
'no-console' : [ (process.env.NODE_ENV === 'production' ? 'error' : 'warn'), { allow: [ 'warn', 'error' ] } ],
'no-debugger' : process.env.NODE_ENV === 'production' ? 'error' : 'warn',
+ 'yoda' : 'off',
},
extends: [
diff --git a/src/components/SmooServerState.ts b/src/components/SmooServerState.ts
index 8cd9c28..169bbd5 100644
--- a/src/components/SmooServerState.ts
+++ b/src/components/SmooServerState.ts
@@ -97,6 +97,13 @@ export default class SmooServerState extends Vue {
const playersColor = (players ? (players.length !== this.MaxPlayers ? 'text-success' : 'text-danger') : 'text-info')
const playersValue = (players ? players.length : '') + (players && this.MaxPlayers != null ? ' / ' : '') + (this.MaxPlayers ?? '')
settings.push(playersKey + ': ' + playersValue + '')
+ if (8 < (this.MaxPlayers ?? 0)) {
+ settings.push('CaptureSync: false')
+ } else if (7 < (this.MaxPlayers ?? 0)) {
+ settings.push('CaptureSync: not in Wooded')
+ } else if (0 < (this.MaxPlayers ?? 0)) {
+ settings.push('CaptureSync: true')
+ }
}
bool('ScenarioMerge', 'Scenario', 'MergeEnabled')
bool('ShineSync', 'Shines', 'Enabled')
diff --git a/src/views/servers.vue b/src/views/servers.vue
index 7a0bc96..31b1d02 100644
--- a/src/views/servers.vue
+++ b/src/views/servers.vue
@@ -12,6 +12,9 @@
Settings:
+ -
+
CaptureSync
: if captures are visible to other players.
+
-
ScenarioMerge
: the server forces all players to be in the same scenario to see each other.