Clean up init.lua a bit

master
Wuzzy 2022-07-02 15:47:13 +02:00
parent dcf0b79420
commit 662bc328f4
1 changed files with 1 additions and 3 deletions

View File

@ -3,8 +3,6 @@
--
-- See README.txt for licensing and other information.
-- Copyright (c) 2022, Leslie E. Krause
--
-- ./games/minetest_game/mods/pride_flags/init.lua
--------------------------------------------------------
local wind_noise = PerlinNoise( 204, 1, 0, 500 )
@ -67,7 +65,7 @@ minetest.register_entity( "pride_flags:wavingflag", {
reset_animation = function ( self, start_frame )
local cur_wind = wind_noise:get2d( { x = os.time( ) % 65535, y = 0 } ) * 30 + 30
print( cur_wind )
minetest.log("verbose", "[pride_flags] Current wind: " .. cur_wind)
local anim_speed
local wave_sound