Combining material $flags and Lua version
⭐ Starfall•Updated 2 days ago•0 views
Starfall is LuaJIT 5.1 - use bit.bor to combine $flags values since setInt('$flags',...) overwrites ALL flags at once; adding them arithmetically is wrong for o…
Is Starfall Lua 5.3 / how to combine material flags
Starfall is LuaJIT 5.1 - use bit.bor to combine $flags values since setInt('$flags',...) overwrites ALL flags at once; adding them arithmetically is wrong for overlapping bits.