Bug with iDelay handling
|
|
Hi,
- line 1593: if (iDelay>0 && useOfIDelay)... and on the else block it re-schedules the task after the last task. However the message at Delay if error window says "type 0 to not add". So when I try to disable this feature by setting delay time to 0 then the failed task gets re-scheduled after the last task instead of not to be re-scheduled at all. I think the correct code would look like this: if (useOfIDelay) { if(iDelay>0) {...} } else { ... } - when re-scheduling happens the task gets re-scheduled to the current active village instead of the one in the failed task. I guess the problem is that the getActiveVillage function in setTask uses the html page to determine the village id, but the switchActiveVillage function just calls the url but does not change the html page in the browser. But I am not sure about this. |
|
|
"- when re-scheduling happens the task gets re-scheduled to the current active village instead of the one in the failed task. I guess the problem is that the getActiveVillage function in setTask uses the html page to determine the village id, but the switchActiveVillage function just calls the url but does not change the html page in the browser. But I am not sure about this."
|