Add back "Analye now" button
This commit is contained in:
parent
b75bcaceaf
commit
1e9b3c2d07
2
init.lua
2
init.lua
@ -1708,7 +1708,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
||||
local _, _, _, badwaves = analyze_noiseparams(noiseparams)
|
||||
if badwaves then
|
||||
formspec_states[player:get_player_name()].noiseparams = noiseparams
|
||||
show_error_formspec(player, TEXT_ERROR_BAD_WAVELENGTH)
|
||||
show_error_formspec(player, TEXT_ERROR_BAD_WAVELENGTH, true)
|
||||
return
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user