... to stick with intuitive names than use magic booleans which don't explain themselves - enableTrigger and disableTrigger-style are good, lockRoom-style not so.
Also fixed the return values on the function. Lua doesn't really mind, but LuaJIT won't put up with it and just crash.
... to stick with intuitive names than use magic booleans which don't explain themselves - enableTrigger and disableTrigger-style are good, lockRoom-style not so.
Also fixed the return values on the function. Lua doesn't really mind, but LuaJIT won't put up with it and just crash.