Opened 2 years ago

Closed 2 years ago

#6435 closed defect (fixed)

Failed start random game if change number of players

Reported by: nwtour Owned by: bb
Priority: Should Have Milestone: Alpha 26
Component: UI – Game setup Keywords:
Cc: Patch: Phab:D4498

Description

Start game, 5 players in gamesettings (4 AI Petra) - successfull started

Change num of players to 4 (minus 1) - failed loading

Restart game: in gamesettings 5 players 3 AI and 1 unassigned

Creating playerbases...ERROR: JavaScript error: maps/random/rmgen-common/player.js line 66
g_CivData[getCivCode(...)] is undefined
  getStartingEntities@maps/random/rmgen-common/player.js:66:19
  placeCivDefaultStartingEntities@maps/random/rmgen-common/player.js:111:44
  placePlayerBase@maps/random/rmgen-common/player.js:159:33
  placePlayerBases@maps/random/rmgen-common/player.js:147:18
  @maps/random/volcanic_lands.js:42:17
ERROR: CMapGeneratorWorker::Run: Failed to load RMS 'maps/random/volcanic_lands.js'

Attachments (1)

Снимок экрана_2022-02-21_03-19-36.png (1.2 MB ) - added by nwtour 2 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by Stan, 2 years ago

Patch: Phab:D4498

comment:2 by bb, 2 years ago

Owner: set to bb
Resolution: fixed
Status: newclosed

In 26464:

Let StartingCamera react upon change in number of players

fixes an issue in rP26393

Reviewed By: marder
Comments By: nwtour

Differential Revision: D4498
fixes #6435

Note: See TracTickets for help on using tickets.