Phi: small tweaks for the multiplayer config
This commit is contained in:
parent
7078b1a382
commit
f9923979b5
2 changed files with 5 additions and 4 deletions
|
@ -24,13 +24,12 @@
|
|||
</div>
|
||||
<div>
|
||||
<button data-bind="button: { disabled: online }, click: toggleConnect">Connect to</button>
|
||||
<label for="sim-config-multiplayer-serverlist">foo</label>
|
||||
<select id="sim-config-multiplayer-serverlist"
|
||||
data-bind=" enable: offline
|
||||
<select data-bind="enable: offline
|
||||
value: selectedServer,
|
||||
options: serverList,
|
||||
optionsText: 'longname',
|
||||
optionsValue: 'longname'"></select>
|
||||
optionsValue: 'longname',
|
||||
"></select>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
|
|
|
@ -61,6 +61,8 @@ define([
|
|||
} else {
|
||||
fgCommand.multiplayerConnect({
|
||||
'servername': self.selectedServer(),
|
||||
'rxport': 5000,
|
||||
'txport': 5000
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue