Add back "Analye now" button

This commit is contained in:
Wuzzy 2022-04-21 02:06:05 +02:00
parent b75bcaceaf
commit 1e9b3c2d07

View File

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