Opened 6 years ago

Last modified 6 years ago

#4996 new defect

this.sequences is undefined in Atlas, summary screen page

Reported by: elexis Owned by:
Priority: Should Have Milestone: Backlog
Component: Atlas editor Keywords:
Cc: Patch:

Description

When opening atlas, changing a player civ (so that the player entity is replaced using ReplacePlayer) and starting the simulation, we get this error message:

WARNING: JavaScript warning: simulation/components/StatisticsTracker.js line 587
reference to undefined property this.sequences
ERROR: Error in timer on entity 11, IID86, function UpdateSequences: TypeError: this.sequences is undefined
  StatisticsTracker.prototype.UpdateSequences@simulation/components/StatisticsTracker.js:587:2
  Timer.prototype.OnUpdate@simulation/components/Timer.js:120:4

Trying to open the summary page in atlas fails terribly prior and afterwards.

Change History (1)

comment:1 by Imarok, 6 years ago

https://pastebin.com/11ZSbKf2 Fixes the issue but may be not the cleanest solution.

Note: See TracTickets for help on using tickets.