1
0
Fork 0

[mcl_moon] fix warnings

doc-refactoring^2
AFCMS 2021-05-23 14:48:52 +02:00
parent 36dc18e9da
commit 9f41c6fc64
1 changed files with 0 additions and 2 deletions

View File

@ -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)