mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-26 09:03:01 +00:00
Try fixing #72
This commit is contained in:
parent
01d6132055
commit
502595579e
1 changed files with 5 additions and 9 deletions
|
@ -13,15 +13,11 @@
|
||||||
|
|
||||||
-- module: bit
|
-- module: bit
|
||||||
|
|
||||||
local bit
|
if not minetest.global_exists("bit") then
|
||||||
if minetest.global_exists("bit") then
|
bit = {
|
||||||
bit = bit
|
bits = 32,
|
||||||
else
|
powtab = { 1 }
|
||||||
bit = {}
|
}
|
||||||
|
|
||||||
bit.bits = 32
|
|
||||||
bit.powtab = { 1 }
|
|
||||||
|
|
||||||
for b = 1, bit.bits - 1 do
|
for b = 1, bit.bits - 1 do
|
||||||
bit.powtab[#bit.powtab + 1] = math.pow(2, b)
|
bit.powtab[#bit.powtab + 1] = math.pow(2, b)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue