mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-07 12:45:53 +00:00
A small fix to make techs get researched properly when you click their button.
This was SVN commit r4153.
This commit is contained in:
@@ -465,7 +465,7 @@ function updateTab (tab, type, cellSheet, attribute, attribute2, arrayCells)
|
||||
issueCommand(selection, NMT_Produce, PRODUCTION_TRAIN, ""+(Crd[getCrd (this.name, true)].entity));
|
||||
case "research":
|
||||
// TODO: Remove this item from the production queue if right-clicked.
|
||||
issueCommand(selection, NMT_Produce, PRODUCTION_RESEARCH, ""+(Crd[getCrd (this.name, true)].entity));
|
||||
issueCommand(selection, NMT_Produce, PRODUCTION_RESEARCH, ""+(Crd[getCrd (this.name, true)].entity.name));
|
||||
break;
|
||||
case "barter":
|
||||
// Buy a quantity of this resource if left-clicked.
|
||||
|
||||
Reference in New Issue
Block a user