Opened 4 years ago

Last modified 4 years ago

#5849 closed defect

Error building Civic Center — at Initial Version

Reported by: Asger Owned by:
Priority: Should Have Milestone: Alpha 24
Component: UI – In-game Keywords: regression
Cc: Patch:

Description

When I tried to build a civic center on a ruined one i got those errors.

ERROR: JavaScript error: simulation/components/BuildRestrictions.js line 314 TypeError: this.GetTerritories(...).indexOf is not a function BuildRestrictions.prototype.HasTerritory@simulation/components/BuildRestrictions.js:314:10 BuildRestrictions.prototype.CheckPlacement@simulation/components/BuildRestrictions.js:184:8 GuiInterface.prototype.SetBuildingPlacementPreview@simulation/components/GuiInterface.js:1117:13 GuiInterface.prototype.ScriptCall@simulation/components/GuiInterface.js:2055:1 updateBuildingPlacementPreview@gui/session/input.js:134:17 handleInputAfterGui@gui/session/input.js:1072:4

ERROR: Error calling component script function ScriptCall

ERROR: JavaScript error: gui/session/input.js line 143 TypeError: result is undefined updateBuildingPlacementPreview@gui/session/input.js:143:36 handleInputAfterGui@gui/session/input.js:1072:4

ERROR: JavaScript error: simulation/components/BuildRestrictions.js line 314 TypeError: this.GetTerritories(...).indexOf is not a function BuildRestrictions.prototype.HasTerritory@simulation/components/BuildRestrictions.js:314:10 BuildRestrictions.prototype.CheckPlacement@simulation/components/BuildRestrictions.js:184:8 GuiInterface.prototype.SetBuildingPlacementPreview@simulation/components/GuiInterface.js:1117:13 GuiInterface.prototype.ScriptCall@simulation/components/GuiInterface.js:2055:1 updateBuildingPlacementPreview@gui/session/input.js:134:17 updateGUIObjects@gui/session/session.js:672:2 onSimulationUpdate@gui/session/session.js:642:2 __eventhandler66 (SimulationUpdate)@session SimulationUpdate:0:1

ERROR: Error calling component script function ScriptCall

ERROR: JavaScript error: gui/session/input.js line 143 TypeError: result is undefined updateBuildingPlacementPreview@gui/session/input.js:143:36 updateGUIObjects@gui/session/session.js:672:2 onSimulationUpdate@gui/session/session.js:642:2 __eventhandler66 (SimulationUpdate)@session SimulationUpdate:0:1

SVN: r24118

When the game is finished I will try to upload a video of the moment it happened.

Change History (0)

Note: See TracTickets for help on using tickets.