Allow* callin order
Moderator: Moderators
Allow* callin order
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
open gadgets.lua and read
Re: Allow* callin order
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.
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.