Opened 4 years ago

Closed 3 years ago

#5844 closed defect (fixed)

TypeError: g_Settings.PlayerDefaults[(this.playerIndex + 1)] is undefined

Reported by: SOFe Owned by: Silier
Priority: Must Have Milestone: Alpha 24
Component: UI – Game setup Keywords:
Cc: SOFe Patch: Phab:D3038

Description (last modified by SOFe)

Selecting the custom scenario as attached in the setup screen leads to the attached error.

There is no visible problem with scenario editor.

Attachments (3)

interestinglog.html (2.4 KB ) - added by SOFe 4 years ago.
cliff_defense.xml (54.7 KB ) - added by SOFe 4 years ago.
cliff_defense.pmp (641.3 KB ) - added by SOFe 4 years ago.

Download all attachments as: .zip

Change History (9)

by SOFe, 4 years ago

Attachment: interestinglog.html added

by SOFe, 4 years ago

Attachment: cliff_defense.xml added

by SOFe, 4 years ago

Attachment: cliff_defense.pmp added

comment:1 by SOFe, 4 years ago

Description: modified (diff)

comment:3 by Silier, 4 years ago

Milestone: BacklogAlpha 24

comment:4 by Silier, 4 years ago

Priority: Should HaveMust Have

comment:5 by Silier, 4 years ago

Owner: set to Silier
Patch: Phab:D3038
Status: newassigned

comment:6 by Silier, 3 years ago

Resolution: fixed
Status: assignedclosed

In 24109:

Fix handling of fixed ai defined by map after rP23419

Gamesetup fails to handle cases with fixed ai rP23419.
Removing wrong 'this' and checking for 'undefined' to fix additional warnings when switching maps.

Differential Revision: D3038
Fixes: #5844

Note: See TracTickets for help on using tickets.