Page 1 of 1

Delayed Triggers

PostPosted: 24 Sep 2011, 12:01
by Sloth
I've just fixed the bug that was causing the infinite loop whenever a delayed trigger was firing. I would be glad if you can take a look at it Hellfish, since I'm not sure how you inteded the loop to work in your R10315.

Re: Delayed Triggers

PostPosted: 24 Sep 2011, 14:05
by Hellfish
The change looks good, it was probably just a mindfart on my part. I made the change to that in the first place so that the delayed triggers list could be modified while they were being run. The only thing I'd suggest would be to add
Code: Select all
delayedTriggersWorkingCopy.remove(deltrig);
after line 322. I am unable to test or commit this atm, so if it doesn't work, just ignore my ramblings ;)