Ran into this while working on TSB
Eventually this placeholder lambda is going to be replaced with something that works, and any game started with a placeholder version wont work correctly once it is updated
[09:05:06] Avan basically
[09:05:13] Avan the first two calls to gCriteriaLambda
[09:05:18] Avan should give insufficient argument errors
[09:05:23] Avan the third should return true
[09:05:35] Avan but isntead its acting as if i called something that was not a function as a function
[09:05:39] Avan (like where i call the list
[09:05:46] Avan yet it clearly stores the lambda in itself
I'd like to see the code that assigns the lambda. It looks like it is assigned to a literal list, not an expression. In particular, you shouldn't use the quote (') syntax when returning a list from TSB_shpGetDeviceSlot. I think the (list ...) expression will work better.
Either way, though, I'd like to see the code inside TSB_shpGetDeviceSlot that returns the list.