lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> shouldLoop = sounds[1].loop or true  -- (nil or true) => true
> shouldLoop = sounds[2].loop or true  -- (false or true) => true

Try
	shouldLoop = not not sounds[2].loop