Opened 8 years ago

Closed 8 years ago

#3854 closed defect (fixed)

Wall-builder spits an error when there aren't enough resources

Reported by: sanderd17 Owned by: Itms
Priority: Nice to Have Milestone: Alpha 20
Component: UI & Simulation Keywords:
Cc: Patch:

Description

When you build a wall, but the last pieces turn red due to lack of resources, it throws to following error (once):

ERROR: [TryConstructWall] No entity ID set for constructed entity of template 'structures/rome_wall_tower'

Apart from that, it doesn't have any affect on the gameplay, so it's just mildly annoying and could cause some bug reports when this gets released.

Change History (1)

comment:1 by Itms, 8 years ago

Owner: set to Itms
Resolution: fixed
Status: newclosed

In 17955:

Properly fix the typo mentioned in r17714. The ++i in the for loop already increments i so doing it once more is not wanted.
Fixes #3854.

Note: See TracTickets for help on using tickets.