Fixed faulty productio-time in Producer-Library

rope
Bernhard Bonigl 2012-04-15 15:11:18 +02:00
parent 27f3ea8173
commit 9236cde273
1 changed files with 1 additions and 1 deletions

View File

@ -518,7 +518,7 @@ protected func FxProcessProductionTimer(object target, proplist effect, int time
//Log("Production in progress on %i, %d frames, %d time", effect.Product, effect.Duration, time);
// Check if production time has been reached.
if (effect.Duration >= ProductionTime())
if (effect.Duration >= ProductionTime(effect.Product))
return -1;
return 1;