A small fix to make techs get researched properly when you click their button.

This was SVN commit r4153.
This commit is contained in:
Matei 2006-07-20 22:42:01 +00:00
parent c817566222
commit 278d52bc2b

View File

@ -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.