mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 08:29:34 +01:00
[mcl_moon] fix warnings
This commit is contained in:
parent
36dc18e9da
commit
9f41c6fc64
1 changed files with 0 additions and 2 deletions
|
@ -4,11 +4,9 @@ local SHEET_W = 4
|
|||
local SHEET_H = 2
|
||||
|
||||
-- Randomize initial moon phase, based on map seed
|
||||
local phase_offset
|
||||
local mg_seed = minetest.get_mapgen_setting("seed")
|
||||
local rand = PseudoRandom(mg_seed)
|
||||
local phase_offset = rand:next(0, MOON_PHASES - 1)
|
||||
rand = nil
|
||||
|
||||
minetest.log("info", "[mcl_moon] Moon phase offset of this world: "..phase_offset)
|
||||
|
||||
|
|
Loading…
Reference in a new issue