Opened 2 years ago

Closed 2 years ago

#6458 closed defect (fixed)

Error in the tutorial

Reported by: marder Owned by: Freagarach
Priority: Release Blocker Milestone: Alpha 26
Component: Simulation Keywords:
Cc: Patch: Phab:D4541

Description

In svn 26636 I get an error in the starting tutorial

ERROR: JavaScript error: maps/scripts/TriggerHelper.js line 389 cmpTechnologyManager.IsTechnologyStarted is not a function TriggerHelper.HasDealtWithTech@maps/scripts/TriggerHelper.js:389:55 IsDone@maps/tutorials/starting_economy_walkthrough.js:363:25 Trigger.prototype.NextGoal@maps/scripts/Tutorial.js:44:29 OnTrainingQueued@maps/tutorials/starting_economy_walkthrough.js:353:10 Trigger.prototype.DoAction@simulation/components/Trigger.js:371:19 Trigger.prototype.CallEvent@simulation/components/Trigger.js:332:9 Trainer.prototype.Item.prototype.Queue@simulation/components/Trainer.js:110:13 Trainer.prototype.QueueBatch@simulation/components/Trainer.js:630:12 ProductionQueue.prototype.Item.prototype.QueueEntity@simulation/components/ProductionQueue.js:51:27 ProductionQueue.prototype.Item.prototype.Queue@simulation/components/ProductionQueue.js:32:15 ProductionQueue.prototype.AddItem@simulation/components/ProductionQueue.js:334:12 train@simulation/helpers/Commands.js:368:61 ProcessCommand@simulation/helpers/Commands.js:53:23

Change History (4)

comment:1 by marder, 2 years ago

Priority: Must HaveRelease Blocker

comment:2 by marder, 2 years ago

happens when you are supposed to build three extra female citizens for the field

comment:3 by Freagarach, 2 years ago

Component: Core engineSimulation
Owner: set to Freagarach
Patch: Phab:D4541

comment:4 by Freagarach, 2 years ago

Resolution: fixed
Status: newclosed

In 26656:

Remove redundant function in HasDealtWithTech in trigger helper.

The function was redundant for a long time, but made an error in r26252 / rP26252.

Reported by: @marder
Differential revision: https://code.wildfiregames.com/D4541
Tested by: @marder
Fixes #6458

Note: See TracTickets for help on using tickets.