Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2835 closed defect (fixed)

[PATCH] Stop "queue-building" structures when resources exhausted

Reported by: mimo Owned by: mimo
Priority: Nice to Have Milestone: Alpha 18
Component: UI & Simulation Keywords: patch
Cc: Patch:

Description

When placing buildings with the queued hotkey, the resources are only checked for the first building. When the resources are exhausted, the building placement still gives the impression that we can build, but nothing is built because of the lack of resources. This can be misleading. We should check resources after each successful foundation, and either stop the process when resources exhausted, or at least show a red overlay.

Attachments (1)

buildingPlacement.diff (734 bytes ) - added by mimo 10 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by Itms, 10 years ago

Linking this to #2710.

comment:2 by mimo, 10 years ago

Keywords: patch review added
Milestone: BacklogAlpha 18
Summary: Stop "queue-building" structures when resources exhausted[PATCH] Stop "queue-building" structures when resources exhausted

This ticket is only gui related, with no connection to #2710 imo. Anyway, here is a patch to fix it, and this makes the behaviour consistent with the fact that the production buttons become disabled when not enough resources.

by mimo, 10 years ago

Attachment: buildingPlacement.diff added

comment:3 by mimo, 10 years ago

Owner: set to mimo
Resolution: fixed
Status: newclosed

In 15855:

stop trying to build when not enough resources, fixes #2835

comment:4 by leper, 10 years ago

Keywords: review removed
Note: See TracTickets for help on using tickets.