File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ var game = {
1212 // Trick to force network update: temporarily increment player count
1313 updateSettings ( ) {
1414 const playerCountBackup = g_GameSettings . playerCount . nbPlayers ;
15- if ( playerCountBackup < 8 ) {
15+ if ( playerCountBackup < 9 ) {
1616 const tempCount = playerCountBackup + 1 ;
1717 try {
18- print ( 'gui/gamesetup/gamesetup~!extra_commands.js:18' )
18+ // print('gui/gamesetup/gamesetup~!extra_commands.js:18')
1919 g_GameSettings . playerCount . nbPlayers = tempCount ;
2020 } catch ( error ) {
2121 // Suppress error if next player's settings are undefined
Original file line number Diff line number Diff line change 11
22
3- // warnModIsNotEnabled(); // check for feldmap mod is default 23-0624_0327-45
3+ warnModIsNotEnabled ( ) ; // check for feldmap mod is default 23-0624_0327-45
44
55warnSilhouettesIsNotEnabled ( )
66
@@ -173,8 +173,6 @@ function setCaption_when_JoinOrStart_Setup_suggestRestoreMods_when_modsChanged()
173173 selfMessage ( `175: modsFromUserCfg=${ modsFromUserCfg } , modsFromUserCfg_backup=${ modsFromUserCfg_backup } ` ) ;
174174 }
175175
176- print ( 'gui/gamesetup/gamesetup~autociv.js:182\n' )
177-
178176 if ( modsFromUserCfg != modsFromUserCfg_backup ) {
179177 // const modsFromUserCfg = Engine.ConfigDB_GetValue("user", "mod.enabledmods");
180178 // const modsFromUserCfg_backup = Engine.ConfigDB_GetValue("user", "autocivP.enabledmods.backup");
@@ -185,7 +183,7 @@ function setCaption_when_JoinOrStart_Setup_suggestRestoreMods_when_modsChanged()
185183
186184 if ( g_selfIsHost ) {
187185
188- print ( 'gui/gamesetup/gamesetup~autociv.js:188\n' )
186+ // print('gui/gamesetup/gamesetup~autociv.js:188\n')
189187 try {
190188 ConfigDB_CreateAndSaveValueA26A27 ( "user" , `autocivP.enabledmods.backup` , modsFromUserCfg ) ;
191189 } catch ( error ) {
You can’t perform that action at this time.
0 commit comments