Skip to content

Fix Lua unary not on boolean and nil values

James R. requested to merge blua-unary-not-fix into next

ampersand mentioned that using unary not (~ or !) on true or false causes a crash. I also discovered unary not doesn't work on boolean or nil variables. Now it works in all those cases.

Edited by James R.

Merge request reports

Loading