Page 1 of 1
Allow* callin order
Posted: 17 Sep 2012, 09:44
by Beherith
What happens if there are multiple Allow[Command,Buildstep,etc] callins in different gadgets? Are they all called and if any one returns false then the the action is canceled? What order are they called in (layer = N)?
Re: Allow* callin order
Posted: 17 Sep 2012, 18:41
by jK
open gadgets.lua and read
Re: Allow* callin order
Posted: 17 Sep 2012, 20:04
by Beherith
Found it!
The gadgets are called in the order of lowers layer number first. On the first false return, no more are called, and the command returns false.