Page 1 of 1

AllowUnitTransfer and else arguments?

Posted: 08 Feb 2011, 05:40
by bobthedinosaur
edIT: I am awesomely awful at self check. ....

Re: AllowUnitTransfer and else arguments?

Posted: 08 Feb 2011, 06:30
by Niobium
You're missing a 'return true', either just before the function ends or in the else section.

Re: AllowUnitTransfer and else arguments?

Posted: 09 Feb 2011, 05:00
by bobthedinosaur
We'll I feel pretty stupid. You can probably delete this useless thread :P

Re: AllowUnitTransfer and else arguments?

Posted: 09 Feb 2011, 15:59
by SirMaverick
bobthedinosaur wrote:We'll I feel pretty stupid. You can probably delete this useless thread :P
Shouldn't delete it. I've seen many people making such mistakes, including myself. Document that and other can learn from such faults.