Mine
public text v1 · immutableIndex: src/intdisplay.c
===================================================================
--- src/intdisplay.c (revision 4172)
+++ src/intdisplay.c (working copy)
@@ -432,6 +432,7 @@
}
// now find out how many we have built
+ if(psStructure != NULL)
+ {
+ remaining = getProductionBuilt(psStructure, psTemplate);
+ }
if (quantity > remaining)
{