Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#4538 closed defect (fixed)

Crash when loading a saved game which was saved when under gaia perspective

Reported by: mimo Owned by: mimo
Priority: Should Have Milestone: Alpha 22
Component: UI & Simulation Keywords:
Cc: Patch:

Description

After saving a game while under gaia perspective, trying to reload it fails with

WARNING: JavaScript warning: gui/session/session.js line 456
reference to undefined property g_CivData[g_Players[g_ViewedPlayer].civ].Music
ERROR: JavaScript error: gui/common/music.js line 111
TypeError: civMusic is undefined
  Music.prototype.storeTracks@gui/common/music.js:111:11
  initializeMusic@gui/session/session.js:456:3
  init@gui/session/session.js:281:2
  reallyStartGame@gui/loading/loading.js:102:2
ERROR: GUI page 'page_session.xml': Failed to call init() function

Change History (4)

comment:1 by leper, 7 years ago

Keywords: simple added

comment:2 by mimo, 7 years ago

Owner: set to mimo
Resolution: fixed
Status: newclosed

In 19499:

fix error when civData has no music (as gaia), fixes #4538

comment:3 by mimo, 7 years ago

Milestone: BacklogAlpha 22

comment:4 by leper, 7 years ago

Keywords: simple removed
Note: See TracTickets for help on using tickets.